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
commit c708e019ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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