Add basic spamassassin support

This commit is contained in:
Pierre Jaury
2016-02-17 23:29:32 +01:00
parent 47272df96b
commit 9df197f412
4 changed files with 29 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
# Exposed SMTP services
smtp inet n - - - - smtpd
-o content_filter=spamassassin
submission inet n - - - - smtpd
-o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes
@@ -13,6 +14,7 @@ smtps inet n - - - - smtpd
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
# Internal postfix services
pickup fifo n - n 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr unix n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
@@ -31,3 +33,7 @@ discard unix - - - - - discard
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
# Utility services
spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}