Skip to content

Commit

Permalink
fix: do not duplicate sasl configuration entries on restart
Browse files Browse the repository at this point in the history
Fixing the issue when container will not restart due to sasl config file error
  • Loading branch information
dimatha authored and bokysan committed Sep 27, 2023
1 parent 9235ee0 commit 8b6a6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ postfix_setup_smtpd_sasl_auth() {
do_postconf -e "broken_sasl_auth_clients=yes"

[ ! -d /etc/postfix/sasl ] && mkdir /etc/postfix/sasl
cat >> /etc/postfix/sasl/smtpd.conf <<EOF
cat > /etc/postfix/sasl/smtpd.conf <<EOF
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM
Expand Down

0 comments on commit 8b6a6ac

Please sign in to comment.