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