mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fix Problem with Saslauthd and Postfix master.cf
The provided default postfix master.cf overwrites the configs for saslauthd within main.cf. To make saslauthd work, we have to comment or in this case delete the lines from master.cf to make the given configs in main.cf work.
This commit is contained in:
parent
93837ec2f9
commit
782152f827
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue