From 3316ae70d3b27256cccd44601a1911daf702c7b9 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 1 Oct 2022 19:12:00 +0200 Subject: [PATCH] manage aliases --- seed/dovecot/templates/dovecot-ldap.conf.ext | 2 +- seed/dovecot/templates/imap.yml | 2 + seed/dovecot/tests/test_imap.py | 115 ++++++++++++------- 3 files changed, 77 insertions(+), 42 deletions(-) diff --git a/seed/dovecot/templates/dovecot-ldap.conf.ext b/seed/dovecot/templates/dovecot-ldap.conf.ext index 168da38..3162b2d 100644 --- a/seed/dovecot/templates/dovecot-ldap.conf.ext +++ b/seed/dovecot/templates/dovecot-ldap.conf.ext @@ -136,7 +136,7 @@ user_attrs = homeDirectory=home # %d - domain part in user@domain, empty if user there's no domain #user_filter = (&(objectClass=posixAccount)(uid=%u)) #>GNUNUX -user_filter = (&(objectClass=inetOrgPerson)(mail=%u)) +user_filter = (&(objectClass=inetOrgPerson)(mailLocalAddress=%u)) #