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. -- Viktor.