diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-14 14:02:50 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-14 14:02:50 +0200 |
commit | 6716687fd7d15867d9b43d1560515f29f8260e95 (patch) | |
tree | b15f796e42edef2d0134dfbb6dd7047e92aa9397 /app/email/build/dovecot/conf | |
parent | a2a25e2ea41a4ee24440638c754966a56f8ca958 (diff) | |
download | infrastructure-6716687fd7d15867d9b43d1560515f29f8260e95.tar.gz infrastructure-6716687fd7d15867d9b43d1560515f29f8260e95.zip |
Finally fix dovecot
Diffstat (limited to 'app/email/build/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 } |