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

Merge pull request #1570 from guardiande/fix-sasl-password

Fix sasl_password generation to allow passwords containing hashes
This commit is contained in:
Erik Wramner
2020-07-16 07:48:22 +02:00
committed by GitHub

View File

@ -1326,7 +1326,7 @@ function _setup_postfix_relay_hosts() {
if [ -f /tmp/docker-mailserver/postfix-sasl-password.cf ]; then
notify 'inf' "Adding relay authentication from postfix-sasl-password.cf"
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
fi
done < /tmp/docker-mailserver/postfix-sasl-password.cf