reroute mail based on headers

2010-03-17 Thread Ryan Suarez
Greetings, I would like to reroute mail for all our recipients if a certain header is present. Eg. Mail to 'm...@mydomain.org' has the header 'SomeHeader'. I would like to reroute this email to 'm...@some-server.mydomain.org'. What is the best way to accomplish this in postfix? thanks,

Re: reroute mail based on headers

2010-03-17 Thread Ryan Suarez
Noel Jones wrote: On 3/17/2010 3:35 PM, Ryan Suarez wrote: Greetings, I would like to reroute mail for all our recipients if a certain header is present. Eg. Mail to 'm...@mydomain.org' has the header 'SomeHeader'. I would like to reroute this email to 'm...@some-server.mydomain.org'. What

Re: reroute mail based on headers

2010-03-17 Thread Ryan Suarez
Noel Jones wrote: On 3/17/2010 3:53 PM, Ryan Suarez wrote: Noel Jones wrote: On 3/17/2010 3:35 PM, Ryan Suarez wrote: Greetings, I would like to reroute mail for all our recipients if a certain header is present. Eg. Mail to 'm...@mydomain.org' has the header 'SomeHeader'. I would like