On Feb 12, 2016, at 4:05 PM, John <[email protected]> wrote:
> Is it possible to redirect mail based upon sender.

Hmmm, let me think… :)

Yes, I just went through this.

main.cf:
sender_bcc_maps = pcre:/etc/postfix/sender_bcc.pcre

sender_bcc.pcre:
/[email protected]/ /legal@our_lawyers.com/

If you want to have the mail go to more than one address, create a virtual entry

sender_bcc.pcre:
/[email protected]/ /[email protected]/

virtual:
jerk    legal@our_lawyers.tld,[email protected],[email protected]


-- 
"Great art is as irrational as great music. It is mad with its own
loveliness." -  George Jean Nathan

Reply via email to