From f157ecc78bfb1f6c1af957da5ddc2a73a377e6e2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 9 Oct 2020 16:12:48 +0200 Subject: fix set smtpd_sasl_local_domain=$mydomain (not only with dkimproxy) --- postfix/postfix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'postfix') 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 ' -- cgit v1.2.3