source: projects/specs/trunk/s/sendmail/sendmail-vine.mc @ 9199

Revision 9199, 6.2 KB checked in by iwaim, 9 years ago (diff)

add files for sendmail 8.14.5-2

Line 
1divert(-1)
2dnl #
3dnl # This is the sendmail macro config file for m4. If you make changes to
4dnl # /etc/mail/sendmail.mc, you will need to regenerate the
5dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
6dnl # installed and then performing a
7dnl #
8dnl #     make -C /etc/mail
9dnl #
10dnl # or running the following command:
11dnl #
12dnl #     m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
13dnl #
14include(`@@PATH@@/m4/cf.m4')
15VERSIONID(`linux setup for Vine Linux')dnl
16define(`confCF_VERSION', `Vine')dnl
17OSTYPE(`linux')dnl
18dnl #
19dnl # default logging level is 9, you might want to set it higher to
20dnl # debug the configuration
21dnl #
22dnl define(`confLOG_LEVEL', `9')dnl
23dnl #
24dnl # Uncomment and edit the following line if your outgoing mail needs to
25dnl # be sent out through an external mail server:
26dnl #
27dnl define(`SMART_HOST',`smtp.your.provider')dnl
28dnl #
29define(`confDEF_USER_ID',``8:12'')dnl
30undefine(`UUCP_RELAY')dnl
31undefine(`BITNET_RELAY')dnl
32dnl define(`confAUTO_REBUILD')dnl
33define(`confTO_CONNECT', `1m')dnl
34define(`confTRY_NULL_MX_LIST',true)dnl
35define(`confDONT_PROBE_INTERFACES',true)dnl
36define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
37define(`ALIAS_FILE', `/etc/aliases')dnl
38dnl define(`STATUS_FILE', `/etc/mail/statistics')dnl
39define(`UUCP_MAILER_MAX', `2000000')dnl
40define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
41define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
42dnl define(`confAUTH_OPTIONS', `A')dnl
43dnl #
44dnl # The following allows relaying if the user authenticates, and disallows
45dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
46dnl #
47dnl define(`confAUTH_OPTIONS', `A p')dnl
48dnl #
49dnl # PLAIN is the preferred plaintext authentication method and used by
50dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
51dnl # use LOGIN. Other mechanisms should be used if the connection is not
52dnl # guaranteed secure.
53dnl # Please remember that saslauthd needs to be running for AUTH.
54dnl #
55dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
56dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
57dnl #
58dnl # Rudimentary information on creating certificates for sendmail TLS:
59dnl #     make -C /usr/share/ssl/certs usage
60dnl # or use the included makecert.sh script
61dnl #
62dnl define(`confCACERT_PATH',`/usr/share/ssl/certs')dnl
63dnl define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')dnl
64dnl define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')dnl
65dnl define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')dnl
66dnl define(`confCLIENT_CERT',`/usr/share/ssl/certs/sendmail.pem')dnl
67dnl define(`confCLIENT_KEY',`/usr/share/ssl/certs/sendmail.pem')dnl
68dnl #
69dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
70dnl # slapd, which requires the file to be readble by group ldap
71dnl #
72dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekeyfile')dnl
73dnl #
74dnl define(`confTO_QUEUEWARN', `4h')dnl
75dnl define(`confTO_QUEUERETURN', `5d')dnl
76dnl define(`confQUEUE_LA', `12')dnl
77dnl define(`confREFUSE_LA', `18')dnl
78define(`confTO_IDENT', `0')dnl
79dnl FEATURE(delay_checks)dnl
80FEATURE(`no_default_msa',`dnl')dnl
81FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
82FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
83FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
84FEATURE(redirect)dnl
85FEATURE(always_add_domain)dnl
86FEATURE(use_cw_file)dnl
87FEATURE(use_ct_file)dnl
88dnl #
89dnl # The -t option will retry delivery if e.g. the user runs over his quota.
90dnl #
91FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
92FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
93FEATURE(`blacklist_recipients')dnl
94EXPOSED_USER(`root')dnl
95dnl #
96dnl # The following causes sendmail to only listen on the IPv4 loopback address
97dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
98dnl # address restriction to accept email from the internet or intranet.
99dnl #
100DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Address=127.0.0.1, Port=smtp')dnl
101dnl #
102dnl # The following causes sendmail to additionally listen on the IPv6 loopback
103dnl # device. Remove the loopback address restriction listen to the network.
104dnl #
105dnl DAEMON_OPTIONS(`Name=MTA-v6, Family=inet6, Address=::1, Port=smtp')dnl
106dnl #
107dnl # The following causes sendmail to additionally listen to port 587 for
108dnl # mail from MUAs that authenticate. Roaming users who can't reach their
109dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
110dnl # this useful.
111dnl #
112dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
113dnl #
114dnl # The following causes sendmail to additionally listen to port 465, but
115dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed
116dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't
117dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS
118dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps
119dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1.
120dnl #
121dnl # For this to work your OpenSSL certificates must be configured.
122dnl #
123dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
124dnl #
125dnl #
126dnl # We strongly recommend not accepting unresolvable domains if you want to
127dnl # protect yourself from spam. However, the laptop and users on computers
128dnl # that do not have 24x7 DNS do need this.
129dnl #
130FEATURE(`accept_unresolvable_domains')dnl
131dnl #
132dnl FEATURE(`relay_based_on_MX')dnl
133dnl #
134dnl # Also accept email sent to "localhost.localdomain" as local email.
135dnl #
136LOCAL_DOMAIN(`localhost.localdomain')dnl
137dnl #
138dnl # The following example makes mail from this host and any additional
139dnl # specified domains appear to be sent from mydomain.com
140dnl #
141dnl MASQUERADE_AS(`mydomain.com')dnl
142dnl # masquerade not just the headers, but the envelope as well
143dnl #
144dnl FEATURE(masquerade_envelope)dnl
145dnl #
146dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
147dnl #
148dnl FEATURE(masquerade_entire_domain)dnl
149dnl #
150dnl MASQUERADE_DOMAIN(localhost)dnl
151dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
152dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
153dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
154MAILER(smtp)dnl
155MAILER(procmail)dnl
156Cwlocalhost.localdomain
Note: See TracBrowser for help on using the repository browser.