diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 16:12:48 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 19:13:08 +0200 |
commit | f157ecc78bfb1f6c1af957da5ddc2a73a377e6e2 (patch) | |
tree | f67139c99cf9431821a6ff8ab325146da6e6193b | |
parent | 86e90a359fcd33c33d7dbcde879fafcd3d2b80c3 (diff) |
fix set smtpd_sasl_local_domain=$mydomain (not only with dkimproxy)
-rwxr-xr-x | postfix/postfix.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index dc34425..f0c260a 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -274,10 +274,12 @@ if [ -n "$tls_cert" ]; then _postconf -e 'smtpd_tls_auth_only = yes' _postconf -e 'smtpd_tls_received_header = yes' if [ -n "$sasl" ]; then + _postconf -e smtpd_sasl_local_domain='$mydomain' _postconf -e smtpd_sasl_type=dovecot _postconf -e smtpd_sasl_path=private/auth _postconf -e broken_sasl_auth_clients=yes else + _postconf -X smtpd_sasl_local_domain _postconf -X smtpd_sasl_type _postconf -X smtpd_sasl_path _postconf -X broken_sasl_auth_clients @@ -305,7 +307,6 @@ _postconf -X smtpd_sasl_auth_enable _postconf -X smtpd_sasl_security_options _postconf -X smtpd_tls_ask_ccert _postconf -X smtp_tls_note_starttls_offer -_postconf -X smtpd_sasl_local_domain _postconf -X smtpd_tls_session_cache_database _postconf -X smtpd_tls_session_cache_timeout _postconf -X smtp_tls_session_cache_database @@ -379,7 +380,6 @@ 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 ' _postconf -PX pickup/fifo/content_filter ' |