mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2026-04-07 14:41:23 +02:00
fix: SASLauthd configuration file location
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
252f0dc3f6
commit
7ff725f615
@ -20,8 +20,9 @@ function _setup_postfix_early() {
|
||||
fi
|
||||
|
||||
__postfix__log 'trace' "Configuring SASLauthd"
|
||||
if [[ ${ENABLE_SASLAUTHD} -eq 1 ]] && [[ ! -f /etc/postfix/sasl/smtpd.conf ]]; then
|
||||
cat >/etc/postfix/sasl/smtpd.conf << EOF
|
||||
if [[ ${ENABLE_SASLAUTHD} -eq 1 ]] && [[ ! -f /etc/sasl2/smtpd.conf ]]; then
|
||||
mkdir -p /etc/sasl2
|
||||
cat >/etc/sasl2/smtpd.conf << EOF
|
||||
pwcheck_method: saslauthd
|
||||
mech_list: plain login
|
||||
EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user