Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

postfix recipient_bcc_maps multiple recipients how to?

Tags:

postfix-mta

is it ever possible to have multiple recipients in /etc/postfix/recipient_bcc_maps ?

/etc/postfix/recipient_bcc_maps :

[email protected] [email protected]

Can I do something like:

**[email protected] [email protected],rcpt2.domain.tld,[email protected]**

Googling with no success whatsoever

like image 432
SelfVDS Avatar asked Oct 21 '25 16:10

SelfVDS


1 Answers

You cant specify multiple recipients in the right hand side of the recipient_bcc_maps. So

[email protected]    [email protected],rcpt2.domain.tld,[email protected]

is not possible. But The BCC address is subject to virtual alias expansion (and aliases(5) expansion for any resulting local recipients). So

#/etc/postfix/main.cf
#...
virtual_alias_maps = hash:/etc/postfix/vmaps
#...

#/etc/postfix/recipient_bcc_maps
[email protected]    [email protected]


#/etc/postfix/vmaps
[email protected]    [email protected],rcpt2.domain.tld,[email protected]

should help you to achieve it.

Ref: Postfix Mailinglist

like image 150
clement Avatar answered Oct 26 '25 19:10

clement



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!