aboutsummaryrefslogtreecommitdiff
path: root/app/email/config/dovecot
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-09-14 14:02:50 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-09-14 14:02:50 +0200
commit6716687fd7d15867d9b43d1560515f29f8260e95 (patch)
treeb15f796e42edef2d0134dfbb6dd7047e92aa9397 /app/email/config/dovecot
parenta2a25e2ea41a4ee24440638c754966a56f8ca958 (diff)
downloadinfrastructure-6716687fd7d15867d9b43d1560515f29f8260e95.tar.gz
infrastructure-6716687fd7d15867d9b43d1560515f29f8260e95.zip
Finally fix dovecot
Diffstat (limited to 'app/email/config/dovecot')
-rw-r--r--app/email/config/dovecot/dovecot-ldap.conf.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/email/config/dovecot/dovecot-ldap.conf.tpl b/app/email/config/dovecot/dovecot-ldap.conf.tpl
index a8bd72a..dc51e63 100644
--- a/app/email/config/dovecot/dovecot-ldap.conf.tpl
+++ b/app/email/config/dovecot/dovecot-ldap.conf.tpl
@@ -5,4 +5,8 @@ base = dc=deuxfleurs,dc=fr
scope = subtree
user_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
pass_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
-user_attrs = mail=/var/mail/%{ldap:cn}
+user_attrs = \
+ =user=%{ldap:cn}, \
+ =mail=maildir:/var/mail/%{ldap:cn}, \
+ =uid=1000, \
+ =gid=1000