On Feb 12, 2016, at 4:05 PM, John <j...@klam.ca> 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:
/j...@example.com/ /legal@our_lawyers.com/

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

sender_bcc.pcre:
/j...@example.com/ /j...@klam.com/

virtual:
jerk    legal@our_lawyers.tld,ab...@klam.com,agentjohns...@fbi.gov


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

Reply via email to