From d1a6c17f9abaf430a730ad9b737f92e88e153ed2 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sun, 8 Mar 2026 22:23:38 +0700 Subject: [PATCH] Add sasl2 smtpd method --- Dockerfile | 2 ++ sasl2/smtpd.conf | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 sasl2/smtpd.conf diff --git a/Dockerfile b/Dockerfile index 34b3446..5b3a5c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,3 +3,5 @@ FROM alpine:3 CMD ["/usr/sbin/postfix", "-c", "/etc/postfix", "start-fg"] RUN apk --no-cache add postfix postfix-ldap cyrus-sasl-login mlmmj + +COPY sasl2/smtpd.conf /etc/sasl2/smtpd.conf \ No newline at end of file diff --git a/sasl2/smtpd.conf b/sasl2/smtpd.conf new file mode 100644 index 0000000..1290b6a --- /dev/null +++ b/sasl2/smtpd.conf @@ -0,0 +1,2 @@ +pwcheck_method:saslauthd +mech_list: PLAIN LOGIN