From 46c35da49652d6080cfad22d672cc72e233b5728 Mon Sep 17 00:00:00 2001 From: Artem Kobets Date: Sun, 11 Aug 2019 18:05:11 +0300 Subject: [PATCH] Use spamassassin on port 25 only --- emailwiz.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emailwiz.sh b/emailwiz.sh index 83d1ae7..cd42e76 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -59,15 +59,14 @@ sed -i "/^\s*-o/d;/^\s*submission/d;/^\s*smtp/d" /etc/postfix/master.cf echo "smtp unix - - n - - smtp smtp inet n - y - - smtpd + -o content_filter=spamassassin submission inet n - y - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt - -o content_filter=spamassassin -o smtpd_sasl_auth_enable=yes -o smtpd_tls_auth_only=yes smtps inet n - y - - smtpd -o syslog_name=postfix/smtps - -o content_filter=spamassassin -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes spamassassin unix - n n - - pipe