]> git.pld-linux.org Git - packages/sendmail.git/blobdiff - sendmail.mc
- killed trailing spaces/tabs
[packages/sendmail.git] / sendmail.mc
index c25c47296ffea7137fbe9dd7326fbe4a4c77d3a5..b32d353236e45cee054463036b2986716aada52e 100644 (file)
@@ -1,10 +1,10 @@
 divert(-1)
-dnl This is the macro config file used to generate the /etc/sendmail.cf
+dnl This is the macro config file used to generate the /etc/mail/sendmail.cf
 dnl file. If you modify thei file you will have to regenerate the
-dnl /etc/sendmail.cf by running this macro config through the m4
+dnl /etc/mail/sendmail.cf by running this macro config through the m4
 dnl preprocessor:
 dnl
-dnl        m4 /etc/sendmail.mc > /etc/sendmail.cf
+dnl        m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
 dnl
 dnl You will need to have the sendmail-cf package installed for this to
 dnl work.
@@ -21,6 +21,8 @@ define('ALIAS_FILE','/etc/mail/aliases')
 define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,noetrn')
 TRUST_AUTH_MECH(`LOGIN PLAIN GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5')
 define(`confAUTH_MECHANISMS',`LOGIN PLAIN GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5')
+dnl    Define maximum message size here if you want:
+dnl    define(`confMAX_MESSAGE_SIZE', `10000000')
 FEATURE(`smrsh',`/usr/sbin/smrsh')
 FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
 FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
@@ -33,10 +35,22 @@ FEATURE(use_cw_file)
 FEATURE(local_procmail)
 FEATURE(`access_db')
 FEATURE(`blacklist_recipients')
+
+dnl define(`confCACERT_PATH',`/usr/share/ssl')
+dnl define(`confCACERT',`/usr/share/ssl/ca-bundle.crt')
+dnl define(`confSERVER_CERT',`/var/lib/openssl/certs/sendmail.pem')
+dnl define(`confSERVER_KEY',`/var/lib/openssl/certs/sendmail.pem')
+dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
+dnl DAEMON_OPTIONS(`Family=inet, Port=smtps, Name=MTA-SSL, M=s')dnl
+
+dnl define(`MILTER', 1)
+dnl INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/spool/amavis/runtime/amavis-milter.sock, F=T, T=S:10m; R:10m;E:10m')
+dnl INPUT_MAIL_FILTER(`milter-clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=T, T=S:10m; R:10m;E:10m')
+
 dnl We strongly recommend to comment this one out if you want to protect
 dnl yourself from spam. However, the laptop and users on computers that do
 dnl not hav 24x7 DNS do need this.
-FEATURE(`accept_unresolvable_domains')
+dnl FEATURE(`accept_unresolvable_domains')
 dnl FEATURE(`relay_based_on_MX')
 MAILER(smtp)
 MAILER(procmail)
This page took 0.11245 seconds and 4 git commands to generate.