diff options
Diffstat (limited to 'app/email/build/dovecot/conf/dovecot.conf')
-rw-r--r-- | app/email/build/dovecot/conf/dovecot.conf | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/app/email/build/dovecot/conf/dovecot.conf b/app/email/build/dovecot/conf/dovecot.conf index 0d5068c..b0fffbf 100644 --- a/app/email/build/dovecot/conf/dovecot.conf +++ b/app/email/build/dovecot/conf/dovecot.conf @@ -19,10 +19,7 @@ service auth { } } -passdb { - args = /etc/dovecot/dovecot-ldap.conf - driver = ldap -} + service lmtp { inet_listener lmtp { @@ -31,6 +28,20 @@ service lmtp { } } +# https://doc.dovecot.org/configuration_manual/authentication/ldap_authentication/ +passdb { + args = /etc/dovecot/dovecot-ldap.conf + driver = ldap +} +userdb { + driver = prefetch +} +userdb { + args = /etc/dovecot/dovecot-ldap.conf + driver = ldap +} + + service imap-login { inet_listener imap { port = 143 @@ -40,11 +51,6 @@ service imap-login { } } -userdb { - args = uid=mailstore gid=mailstore home=/var/mail/%u - driver = static -} - protocol imap { mail_plugins = $mail_plugins imap_sieve } |