I have sender_bcc_maps set up and working with postfix so that outgoing
mail gets bcc'd to the sender's address. My configuration is more or less:

*main.cf <http://main.cf>*

sender_bcc_maps = regexp:/etc/postfix/regexp_sender_bcc

*regexp_sender_bcc*

/^([^@]+)@[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+$/ $1...@example.com

This works great, however I have an email address nob...@example.com that
I'd like to *exclude* from this configuration.  How can I configure
sender_bcc_maps to *completely ignore* a specific sender's address.

As a workaround I've been able to configure transport_maps to silently
discard the bcc, but I'd greatly prefer to prevent the bcc from occurring
in the first place.

Reply via email to