From 2ee280dcb3eb8642315703040f34659842ed5d6d Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 4 Jul 2020 11:50:25 -0700 Subject: [PATCH 1/2] Update dovecot-ldap.conf.ext add auth_bind = no so that it can be overridden via the env-mailserver file used by docker compose. This is related to #1526 --- target/dovecot/dovecot-ldap.conf.ext | 1 + 1 file changed, 1 insertion(+) diff --git a/target/dovecot/dovecot-ldap.conf.ext b/target/dovecot/dovecot-ldap.conf.ext index 573b52d8..064e9b22 100644 --- a/target/dovecot/dovecot-ldap.conf.ext +++ b/target/dovecot/dovecot-ldap.conf.ext @@ -9,3 +9,4 @@ pass_attrs = uniqueIdentifier=user,userPassword=password pass_filter = (&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n)) user_attrs = mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,mailStorageDirectory=mail user_filter = (&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n)) +auth_bind = no From 96f923b0c296c53822c160a9931f21c2aa8b652b Mon Sep 17 00:00:00 2001 From: Ben Date: Sun, 12 Jul 2020 10:37:40 -0700 Subject: [PATCH 2/2] Update env-mailserver.dist add environment variable for DOVECOT_AUTH_BIND --- env-mailserver.dist | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/env-mailserver.dist b/env-mailserver.dist index ac0120b3..ee7c5aa1 100644 --- a/env-mailserver.dist +++ b/env-mailserver.dist @@ -270,6 +270,11 @@ DOVECOT_PASS_FILTER= # default is maildir, supported values are: sdbox, mdbox, maildir DOVECOT_MAILBOX_FORMAT=maildir +# empty => no +# yes => Allow bind authentication for LDAP +# https://wiki.dovecot.org/AuthDatabase/LDAP/AuthBinds +DOVECOT_AUTH_BIND= + # ----------------------------------------------------------------------------------------------------------------------------- # ---------------- Postgrey section ------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------