[pfx] Re: virtual_alias_map and processing order
Matus UHLAR - fantomas via Postfix-users <[email protected]> Fri, 8 May 2026 15:35:43 +0200
| Newsgroups | gmane.mail.postfix.user |
|---|---|
| Message-ID | <[email protected]> |
On 08.05.26 08:35, BuzzSaw Code via Postfix-users wrote: >I'm trying to understand the options I have if any to process the >recipients list returned by an ldap query. > >We have a virtual_alias_map that handles some basic distribution lists we >have, and the query returns a list of recipients as expected: > >[email protected],[email protected],[email protected] > >Are those recipients run through the cleanup process again ? No, the list of recipients is expanded using virtual_alias_maps in the cleanup process, and message is passed for other processing: http://www.postfix.org/OVERVIEW.html >If not is >there another way we can do some recipient cleanup after the >virtual_alias_map is applied ? Why? >There are some cases where we would like to do a rewrite of the recipient >addresses returned by that query. What exactly are you trying to achieve? For simple distribution lists, maybe alias_maps would be better idea, together with expand_owner_alias functionality: http://www.postfix.org/postconf.5.html#expand_owner_alias -- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. 42.7 percent of all statistics are made up on the spot. _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]