You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-09 23:07:35 +02: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:
@@ -442,6 +442,11 @@ log_level: 10
|
||||
EOF
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/^[^#].*smtpd_sasl_type.*/s/^/#/g" \
|
||||
-e "/^[^#].*smtpd_sasl_path.*/s/^/#/g" \
|
||||
etc/postfix/master.cf
|
||||
|
||||
sed -i \
|
||||
-e "s|^START=.*|START=yes|g" \
|
||||
-e "s|^MECHANISMS=.*|MECHANISMS="\"$SASLAUTHD_MECHANISMS\""|g" \
|
||||
|
Reference in New Issue
Block a user