]> git.pld-linux.org Git - packages/sendmail.git/blame_incremental - sendmail.mc
- enabled CipherList and ServerSSLOptions options
[packages/sendmail.git] / sendmail.mc
... / ...
CommitLineData
1divert(-1)
2dnl This is the macro config file used to generate the /etc/mail/sendmail.cf
3dnl file. If you modify thei file you will have to regenerate the
4dnl /etc/mail/sendmail.cf by running this macro config through the m4
5dnl preprocessor:
6dnl
7dnl m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
8dnl
9dnl You will need to have the sendmail-cf package installed for this to
10dnl work.
11include(`@@PATH@@/m4/cf.m4')
12define(`confDEF_USER_ID',``8:12'')
13OSTYPE(`linux')
14undefine(`UUCP_RELAY')
15undefine(`BITNET_RELAY')
16define(`confTO_CONNECT', `1m')
17define(`confTRY_NULL_MX_LIST',true)
18define(`confDONT_PROBE_INTERFACES',true)
19define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
20define('ALIAS_FILE','/etc/mail/aliases')
21define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,noetrn')
22TRUST_AUTH_MECH(`LOGIN PLAIN GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5')
23define(`confAUTH_MECHANISMS',`LOGIN PLAIN GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5')
24dnl Define maximum message size here if you want:
25dnl define(`confMAX_MESSAGE_SIZE', `10000000')
26FEATURE(`smrsh',`/usr/sbin/smrsh')
27FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
28FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
29FEATURE(`genericstable',`hash -o /etc/mail/genericstable')
30FEATURE(redirect)
31dnl tun off Message Submission Agent (MSA)
32dnl FEATURE(`no_default_msa')
33FEATURE(always_add_domain)
34FEATURE(use_cw_file)
35FEATURE(local_procmail)
36FEATURE(`access_db')
37FEATURE(`blacklist_recipients')
38
39dnl define(`confCACERT_PATH',`/usr/share/ssl')
40dnl define(`confCACERT',`/usr/share/ssl/ca-bundle.crt')
41dnl define(`confSERVER_CERT',`/var/lib/openssl/certs/sendmail.pem')
42dnl define(`confSERVER_KEY',`/var/lib/openssl/certs/sendmail.pem')
43dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
44dnl DAEMON_OPTIONS(`Family=inet, Port=smtps, Name=MTA-SSL, M=s')dnl
45
46dnl define(`MILTER', 1)
47dnl INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/spool/amavis/runtime/amavis-milter.sock, F=T, T=S:10m; R:10m;E:10m')
48dnl INPUT_MAIL_FILTER(`milter-clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=T, T=S:10m; R:10m;E:10m')
49
50dnl We strongly recommend to comment this one out if you want to protect
51dnl yourself from spam. However, the laptop and users on computers that do
52dnl not hav 24x7 DNS do need this.
53dnl FEATURE(`accept_unresolvable_domains')
54dnl FEATURE(`relay_based_on_MX')
55MAILER(smtp)
56MAILER(procmail)
This page took 0.027621 seconds and 4 git commands to generate.