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 07/01/2021 à 23:04, Viktor Dukhovni a écrit :
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 recipient rewriting is already done
automatically by "virtual_alias_maps". There's no need to shoehorn
recipient_canonical_maps into this role.
When i inspect my OpenLDAP Logs, i see that there is two nested LDAP
Search Queries coming from Postfix during the cleanup service.
Both recipient_canonical_maps and virtual_alias_maps are recursive.
http://www.postfix.org/postconf.5.html#canonical_maps
Specify zero or more "type:name" lookup tables, separated by
whitespace or comma. Tables will be searched in the specified order
until a match is found. Note: these lookups are recursive.