summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpostfix/postfix.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 5501c46..2cb7d6d 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -434,7 +434,10 @@ submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
+ -o smtpd_sasl_local_domain=$mydomain
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
+ -o smtpd_sender_restrictions=reject_sender_login_mismatch
+ -o smtpd_recipient_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject
EOF
addoroverwritewithindents $tempdir/master.cf '^pickup\h' << EOF
pickup fifo n - - 60 1 pickup