aboutsummaryrefslogtreecommitdiff
path: root/app/email/config
diff options
context:
space:
mode:
Diffstat (limited to 'app/email/config')
-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