docker: Use spamass-milter
This commit is contained in:
parent
0581e0cf6b
commit
eadc7ff8ca
5 changed files with 31 additions and 9 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
# SMTP service
|
||||
smtp inet n - n - - smtpd
|
||||
-o content_filter=spamassassin
|
||||
|
||||
# Pickup service
|
||||
pickup unix n - n 60 1 pickup
|
||||
|
|
@ -74,10 +73,6 @@ scache unix - - n - 1 scache
|
|||
maildrop unix - n n - - pipe
|
||||
flags=DRXhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
|
||||
|
||||
# SPF policy service
|
||||
policy-spf unix - n n - 0 spawn
|
||||
user=nobody argv=/usr/bin/postfix-policyd-spf-perl
|
||||
|
||||
# SpamAssassin content filter
|
||||
spamassassin unix - n n - - pipe
|
||||
user=mail argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue