Arrigo Triulzi: > Hi, > > I was wondering what, if any, is the recommendation on how to have > multiple recipients for always_bcc.
always_bcc accepts one recipient (as do sender_bcc_maps and recipient_bcc_maps). Fixing that would require new code (I have added this as a WISHLIST item). To bcc to multiple recipients with existing Postfix versions, specify one address with always_bcc (or sender_bcc_maps or recipient_bcc_maps), and expand that into multiple recipients using virtual_alias_maps. virtual alias expansion should propagate the "NOTIFY=NONE" property to the result of alias expansion. > I was thinking of using something like alias@localhost and then > expanding it but I am concerned that it will go through mail filters > (amavisd-new in my case) multiple times. > > Any recommendations or alternatives appreciated. To avoid repeated expansions and repeated spam filters, look for receive_override_options in https://www.postfix.org/FILTER_README.html. Wietse