Re: Question about nested LDAP queries

2021-01-08 Thread Wietse Venema
Thomas GUIRRIEC: > Thank you for your reply and for the tip with virtual_alias. > > So, if i understand, virtual_alias and canonical? always do recursive > lookup until the key equals the value (with LDAP table) : > > A -> A (STOP) > > A -> B; B -> B (STOP) > > A -> B; B -> C; C-> C (STOP) >

Re: Question about nested LDAP queries

2021-01-08 Thread Thomas GUIRRIEC
Thank you for your reply and for the tip with virtual_alias. So, if i understand, virtual_alias and canonical  always do recursive lookup until the key equals the value (with LDAP table) : A -> A (STOP) A -> B; B -> B (STOP) A -> B; B -> C; C-> C (STOP) Is that correct ? Best regards. Le

Re: Question about nested LDAP queries

2021-01-07 Thread Viktor Dukhovni
On Thu, Jan 07, 2021 at 10:24:23PM +0100, Thomas GUIRRIEC wrote: > I have configured Postfix  (3.5.8 from Alpine Linux) with > "recipient_canonical_classes = envelope_recipient" & > "recipient_canonical_maps = ldap:/etc/postfix/recipient_canonical" to Why would you do this? Envelope recipien

Question about nested LDAP queries

2021-01-07 Thread Thomas GUIRRIEC
Hi all, Just a little question. I have configured Postfix  (3.5.8 from Alpine Linux) with "recipient_canonical_classes = envelope_recipient" & "recipient_canonical_maps = ldap:/etc/postfix/recipient_canonical" to rewrite envelope recepient by an OpenLDAP attribute (preferredRFC822recipient)