Re: LDAP Help

2021-12-03 Thread Christian Mack
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



smime.p7s
Description: S/MIME Cryptographic Signature


Re: LDAP Help

2021-12-02 Thread Mihai Badici



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.