summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-08-11 13:49:23 -0400
committerGitHub <noreply@github.com>2019-08-11 13:49:23 -0400
commit6d387ab15c774bb8b7a034db48857573ec6bad15 (patch)
tree3a7a43d9b1bcbbb9f41ca3f69ab8ee782c26affd
parent08107c0ee3d0aa06ad8b34671d2166ba630bb63f (diff)
parent46c35da49652d6080cfad22d672cc72e233b5728 (diff)
Merge pull request #12 from artemkobets/master
Use spamassassin on port 25 only
-rwxr-xr-xemailwiz.sh3
1 files changed, 1 insertions, 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