annotate test.mc @ 430:69d33c034a8e stable-6-0-62

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