comparison test.mc @ 1:45c8592d5d13

initial version
author carl
date Fri, 10 Mar 2006 10:35:25 -0800
parents
children 75e1a9bcbc2e
comparison
equal deleted inserted replaced
0:616666e2f34c 1:45c8592d5d13
1 divert(-1)
2 dnl This is the sendmail macro config file. If you make changes to this file,
3 dnl you need the sendmail-cf rpm installed and then have to generate a
4 dnl new /etc/mail/sendmail.cf by running the following command:
5 dnl
6 dnl m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
7 dnl
8 include(`/usr/share/sendmail-cf/m4/cf.m4')
9 VERSIONID(`linux setup for Red Hat Linux')
10 OSTYPE(`linux')
11 undefine(`UUCP_RELAY')
12 undefine(`BITNET_RELAY')
13 define(`ALIAS_FILE', /etc/mail/aliases)
14 define(`confAUTH_MECHANISMS', `LOGIN PLAIN')
15 define(`confAUTH_OPTIONS', `A')
16 define(`confBAD_RCPT_THROTTLE', 2)
17 define(`confCONNECTION_RATE_THROTTLE', 1)
18 define(`confCR_FILE', `/etc/mail/relay-domains')
19 define(`confCT_FILE', `/etc/mail/sendmail.ct')
20 define(`confCW_FILE', `/etc/mail/sendmail.cw')
21 define(`confDEF_USER_ID',``8:12'')
22 define(`confDONT_PROBE_INTERFACES',true)
23 define(`confDOUBLE_BOUNCE_ADDRESS', `')
24 define(`confLOG_LEVEL', `20')
25 define(`confMAX_DAEMON_CHILDREN', `20')
26 define(`confMAX_MESSAGE_SIZE', 30000000)
27 define(`confME_TOO', true)
28 define(`confPID_FILE', `/var/run/sm-test.pid')
29 define(`confPRIVACY_FLAGS', `goaway,nobodyreturn,noreceipts')
30 define(`confQUEUE_LA', 12)
31 define(`confREFUSE_LA', 8)
32 define(`confTO_CONNECT', `1m')
33 define(`confTO_IDENT', `0')
34 define(`MAIL_SETTINGS_DIR', `/etc/mail/')
35 define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
36 define(`STATUS_FILE', /usr/usr/cvs/gpl/dnsbl/sendmail.st)
37 define(`MILTER', 1)
38 DAEMON_OPTIONS(`port=26')dnl
39 FEATURE(always_add_domain)
40 FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl The '-t' option will retry delivery if e.g. the user runs over his quota.
41 FEATURE(redirect)
42 FEATURE(use_ct_file)
43 FEATURE(use_cw_file)
44 FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')
45 FEATURE(`delay_checks', `friend')
46 FEATURE(`relay_hosts_only')
47 FEATURE(`mailertable',`hash /etc/mail/mailertable.db')
48 FEATURE(`virtusertable',`hash /etc/mail/virtusertable.db')
49 FEATURE(`genericstable',`hash /etc/mail/genericstable.db')
50 FEATURE(`no_default_msa',`dnl')
51 VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-host-domains')
52 TRUST_AUTH_MECH(`LOGIN PLAIN')
53 INPUT_MAIL_FILTER(`dnsbl', `S=local:/var/run/dnsbl/dnsbl.sock2, F=T, T=S:30s;R:30s;E:30s')
54 MAILER(smtp)
55 MAILER(procmail)