annotate test.mc @ 0:96a9758165cd original

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