From a2a25e2ea41a4ee24440638c754966a56f8ca958 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 14 Sep 2021 11:33:29 +0200 Subject: Use `cn` instead of `mail` to store emails --- app/email/config/dovecot/dovecot-ldap.conf.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/email/config/dovecot') diff --git a/app/email/config/dovecot/dovecot-ldap.conf.tpl b/app/email/config/dovecot/dovecot-ldap.conf.tpl index 9fb1ea6..a8bd72a 100644 --- a/app/email/config/dovecot/dovecot-ldap.conf.tpl +++ b/app/email/config/dovecot/dovecot-ldap.conf.tpl @@ -5,4 +5,4 @@ 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:mail} +user_attrs = mail=/var/mail/%{ldap:cn} -- cgit v1.2.3