annotate test.mc @ 21:09564d4acd9e stable-1-0-8

patches from Marco d'Itri for postfix
author Carl Byington <carl@five-ten-sg.com>
date Fri, 24 Dec 2010 15:13:18 -0800
parents 75e1a9bcbc2e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
45c8592d5d13 initial version
carl
parents:
diff changeset
1 divert(-1)
45c8592d5d13 initial version
carl
parents:
diff changeset
2 dnl This is the sendmail macro config file. If you make changes to this file,
45c8592d5d13 initial version
carl
parents:
diff changeset
3 dnl you need the sendmail-cf rpm installed and then have to generate a
45c8592d5d13 initial version
carl
parents:
diff changeset
4 dnl new /etc/mail/sendmail.cf by running the following command:
45c8592d5d13 initial version
carl
parents:
diff changeset
5 dnl
45c8592d5d13 initial version
carl
parents:
diff changeset
6 dnl m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
45c8592d5d13 initial version
carl
parents:
diff changeset
7 dnl
45c8592d5d13 initial version
carl
parents:
diff changeset
8 include(`/usr/share/sendmail-cf/m4/cf.m4')
45c8592d5d13 initial version
carl
parents:
diff changeset
9 VERSIONID(`linux setup for Red Hat Linux')
45c8592d5d13 initial version
carl
parents:
diff changeset
10 OSTYPE(`linux')
45c8592d5d13 initial version
carl
parents:
diff changeset
11 undefine(`UUCP_RELAY')
45c8592d5d13 initial version
carl
parents:
diff changeset
12 undefine(`BITNET_RELAY')
45c8592d5d13 initial version
carl
parents:
diff changeset
13 define(`ALIAS_FILE', /etc/mail/aliases)
45c8592d5d13 initial version
carl
parents:
diff changeset
14 define(`confAUTH_MECHANISMS', `LOGIN PLAIN')
45c8592d5d13 initial version
carl
parents:
diff changeset
15 define(`confAUTH_OPTIONS', `A')
45c8592d5d13 initial version
carl
parents:
diff changeset
16 define(`confBAD_RCPT_THROTTLE', 2)
45c8592d5d13 initial version
carl
parents:
diff changeset
17 define(`confCONNECTION_RATE_THROTTLE', 1)
45c8592d5d13 initial version
carl
parents:
diff changeset
18 define(`confCR_FILE', `/etc/mail/relay-domains')
45c8592d5d13 initial version
carl
parents:
diff changeset
19 define(`confCT_FILE', `/etc/mail/sendmail.ct')
45c8592d5d13 initial version
carl
parents:
diff changeset
20 define(`confCW_FILE', `/etc/mail/sendmail.cw')
45c8592d5d13 initial version
carl
parents:
diff changeset
21 define(`confDEF_USER_ID',``8:12'')
45c8592d5d13 initial version
carl
parents:
diff changeset
22 define(`confDONT_PROBE_INTERFACES',true)
45c8592d5d13 initial version
carl
parents:
diff changeset
23 define(`confDOUBLE_BOUNCE_ADDRESS', `')
45c8592d5d13 initial version
carl
parents:
diff changeset
24 define(`confLOG_LEVEL', `20')
45c8592d5d13 initial version
carl
parents:
diff changeset
25 define(`confMAX_DAEMON_CHILDREN', `20')
45c8592d5d13 initial version
carl
parents:
diff changeset
26 define(`confMAX_MESSAGE_SIZE', 30000000)
45c8592d5d13 initial version
carl
parents:
diff changeset
27 define(`confME_TOO', true)
45c8592d5d13 initial version
carl
parents:
diff changeset
28 define(`confPID_FILE', `/var/run/sm-test.pid')
45c8592d5d13 initial version
carl
parents:
diff changeset
29 define(`confPRIVACY_FLAGS', `goaway,nobodyreturn,noreceipts')
45c8592d5d13 initial version
carl
parents:
diff changeset
30 define(`confQUEUE_LA', 12)
45c8592d5d13 initial version
carl
parents:
diff changeset
31 define(`confREFUSE_LA', 8)
45c8592d5d13 initial version
carl
parents:
diff changeset
32 define(`confTO_CONNECT', `1m')
45c8592d5d13 initial version
carl
parents:
diff changeset
33 define(`confTO_IDENT', `0')
45c8592d5d13 initial version
carl
parents:
diff changeset
34 define(`MAIL_SETTINGS_DIR', `/etc/mail/')
45c8592d5d13 initial version
carl
parents:
diff changeset
35 define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
45c8592d5d13 initial version
carl
parents:
diff changeset
36 define(`STATUS_FILE', /usr/usr/cvs/gpl/dnsbl/sendmail.st)
45c8592d5d13 initial version
carl
parents:
diff changeset
37 define(`MILTER', 1)
45c8592d5d13 initial version
carl
parents:
diff changeset
38 DAEMON_OPTIONS(`port=26')dnl
45c8592d5d13 initial version
carl
parents:
diff changeset
39 FEATURE(always_add_domain)
45c8592d5d13 initial version
carl
parents:
diff changeset
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.
45c8592d5d13 initial version
carl
parents:
diff changeset
41 FEATURE(redirect)
45c8592d5d13 initial version
carl
parents:
diff changeset
42 FEATURE(use_ct_file)
45c8592d5d13 initial version
carl
parents:
diff changeset
43 FEATURE(use_cw_file)
45c8592d5d13 initial version
carl
parents:
diff changeset
44 FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')
45c8592d5d13 initial version
carl
parents:
diff changeset
45 FEATURE(`delay_checks', `friend')
45c8592d5d13 initial version
carl
parents:
diff changeset
46 FEATURE(`relay_hosts_only')
45c8592d5d13 initial version
carl
parents:
diff changeset
47 FEATURE(`mailertable',`hash /etc/mail/mailertable.db')
45c8592d5d13 initial version
carl
parents:
diff changeset
48 FEATURE(`virtusertable',`hash /etc/mail/virtusertable.db')
45c8592d5d13 initial version
carl
parents:
diff changeset
49 FEATURE(`genericstable',`hash /etc/mail/genericstable.db')
45c8592d5d13 initial version
carl
parents:
diff changeset
50 FEATURE(`no_default_msa',`dnl')
45c8592d5d13 initial version
carl
parents:
diff changeset
51 VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-host-domains')
45c8592d5d13 initial version
carl
parents:
diff changeset
52 TRUST_AUTH_MECH(`LOGIN PLAIN')
13
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 1
diff changeset
53 INPUT_MAIL_FILTER(`smarchive', `S=local:/var/run/smarchive/smarchive.sock, F=T, T=S:30s;R:30s;E:30s')
1
45c8592d5d13 initial version
carl
parents:
diff changeset
54 MAILER(smtp)
45c8592d5d13 initial version
carl
parents:
diff changeset
55 MAILER(procmail)