Hello Dovecot professionals,
I have a working user authentication with LDAP, now I want to allow the users to use mailAterneteAddress for their account, unfortunately I can't find any filter settings for dovecot that this works? I just can't find the right settings for LDAP (FreeIPA).
Does anyone of you have any hints or links so that I can get on with it. Somehow I don't understand how I can umconvigure the dovecot-ldap.conf.ext
Thank you for your help.
mit freundlichen Grüßen / best regards
Günther J. Niederwimmer
On 12/2/21 21:25, Günther J. Niederwimmer wrote:
I have a working user authentication with LDAP, now I want to allow the users to use mailAterneteAddress for their account, unfortunately I can't find any filter settings for dovecot that this works?
In my setup mapping of all possible mail aliases stored in LDAP attribute 'mailLocalAddress' to a mailbox address is done in postfix which delivers messages to dovecot using this mailbox address.
But maybe I got you wrong.
Ciao, Michael.
On 12/2/21 10:25 PM, Günther J. Niederwimmer wrote:
Hello Dovecot professionals,
I have a working user authentication with LDAP, now I want to allow the users to use mailAterneteAddress for their account, unfortunately I can't find any filter settings for dovecot that this works? I just can't find the right settings for LDAP (FreeIPA).
Does anyone of you have any hints or links so that I can get on with it. Somehow I don't understand how I can umconvigure the dovecot-ldap.conf.ext
Thank you for your help.
allow it for delivery or for authentication? There are different cases. Delivery is done by MTA but usually the final delivery use LDA or LMTP in order to ensure sieve filtering.
Am 02.12.21 um 21:25 schrieb Günther J. Niederwimmer:
Hello Dovecot professionals,
I have a working user authentication with LDAP, now I want to allow the users to use mailAterneteAddress for their account, unfortunately I can't find any filter settings for dovecot that this works? I just can't find the right settings for LDAP (FreeIPA).
Does anyone of you have any hints or links so that I can get on with it. Somehow I don't understand how I can umconvigure the dovecot-ldap.conf.ext
Thank you for your help.
You have to enhance user_filter and pass_filter in dovecot-ldap.conf.ext Something like: user_filter = (&(objectClass=inetOrgPerson)(|(uid=%Lu)(cn=%Lu)(mail=%Lu)(mailAlternateAddress=%Lu)))
pass_filter = (&(objectClass=inetOrgPerson)(|(uid=%Lu)(cn=%Lu)(mail=%Lu)(mailAlternateAddress=%Lu)))
Kind regards, Christian Mack
-- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung IT-Dienste Forschung und Lehre 78457 Konstanz +49 7531 88-4416
participants (4)
-
Christian Mack
-
Günther J. Niederwimmer
-
Michael Ströder
-
Mihai Badici