From 6716687fd7d15867d9b43d1560515f29f8260e95 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 14 Sep 2021 14:02:50 +0200 Subject: Finally fix dovecot --- app/email/config/dovecot/dovecot-ldap.conf.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/email/config') 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 -- cgit v1.2.3