On Sun, Feb 11, 2024 at 10:59:37AM +0100, Matthias Nagel via Postfix-users wrote:
> How do I forward submitted mails under the identity of an email alias > to all other members of that alias? Is that even possible with Postfix > only? Yes, with sender_bcc_maps, and with the proviso that the BCC will be to all the members of that "alias", rather than just "the other members". > I found the configuration parameter sender_bcc_maps. At first glance, > that looked promising, however it neither supports mail aliases nor > more than one address. Bcc the alias to itself. While you can't specify multiple addresses *directly*, the specified address *is* subject to alias expansion. > Just for the sake of clarity, I give a simplified example with only > two mail accounts to illustrate what I want to achieve. Lets assume > there are the virtual mail accounts `jane....@my-domain.tld` and > `john....@my-domain.tld` as well as the alias `d...@my-domain.tld` > which resolves to both mail accounts: main.cf: virtual_alias_maps = inline:{ { doe@bcc.example = john.doe@bcc.example, jane.doe@bcc.example } } sender_bcc_maps = inline:{ { doe@bcc.example = doe@bcc.example } } Replace the inline tables with equivalent tables of your choice, holding all the desired aliases and bcc mappings. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org