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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5351 bytes Desc: S/MIME Cryptographic Signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20211203/23753dd2/attachment.bin>