1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

Fix sasl_password generation to allow passwords containing hashes

This commit is contained in:
guardiande
2020-07-15 08:26:25 +02:00
committed by GitHub
parent 1a085d411a
commit 76d3f7643a

View File

@ -1326,7 +1326,7 @@ function _setup_postfix_relay_hosts() {
if [ -f /tmp/docker-mailserver/postfix-sasl-password.cf ]; then if [ -f /tmp/docker-mailserver/postfix-sasl-password.cf ]; then
notify 'inf' "Adding relay authentication from postfix-sasl-password.cf" notify 'inf' "Adding relay authentication from postfix-sasl-password.cf"
while read line; do while read line; do
if ! echo "$line" | grep -q -e "\s*#"; then if ! echo "$line" | grep -q -e "^\s*#"; then
echo "$line" >> /etc/postfix/sasl_passwd echo "$line" >> /etc/postfix/sasl_passwd
fi fi
done < /tmp/docker-mailserver/postfix-sasl-password.cf done < /tmp/docker-mailserver/postfix-sasl-password.cf