Merge pull request #408 from alinmear/master

Fix Problem with Saslauthd and Postfix master.cf
This commit is contained in:
Thomas VIAL 2016-12-20 08:36:33 +01:00 committed by GitHub
commit c4f434b28e

View file

@ -442,6 +442,11 @@ log_level: 10
EOF EOF
fi fi
sed -i \
-e "/^[^#].*smtpd_sasl_type.*/s/^/#/g" \
-e "/^[^#].*smtpd_sasl_path.*/s/^/#/g" \
etc/postfix/master.cf
sed -i \ sed -i \
-e "s|^START=.*|START=yes|g" \ -e "s|^START=.*|START=yes|g" \
-e "s|^MECHANISMS=.*|MECHANISMS="\"$SASLAUTHD_MECHANISMS\""|g" \ -e "s|^MECHANISMS=.*|MECHANISMS="\"$SASLAUTHD_MECHANISMS\""|g" \