fix: SASLauthd configuration file location

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
Georg Lauterbach 2026-04-03 19:42:22 +02:00
parent 252f0dc3f6
commit 7ff725f615
No known key found for this signature in database

View File

@ -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