Re: reroute mail based on headers

2010-03-18 Thread /dev/rob0
On Wed, Mar 17, 2010 at 05:09:00PM -0500, Kenneth Marshall wrote: On Wed, Mar 17, 2010 at 04:53:37PM -0400, Ryan Suarez wrote: Does an entry in header_checks need to be defined for each recipient? If so, it wouldn't be feasible due to the number of addresses we have. Is there another way

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 Noel Jones
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 is the best way to

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 is

Re: reroute mail based on headers

2010-03-17 Thread Noel Jones
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 to reroute this email

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

Re: reroute mail based on headers

2010-03-17 Thread Noel Jones
On 3/17/2010 4:17 PM, Ryan Suarez wrote: 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

Re: reroute mail based on headers

2010-03-17 Thread Victor Duchovni
On Wed, Mar 17, 2010 at 04:34:32PM -0500, Noel Jones wrote: But this entails that a user remember the unityserver domain. We'd like the process to be cleaner by allowing forwards to their public address. Then our smtp will be responsible for rerouting it to the unity server. Hope this helps.

Re: reroute mail based on headers

2010-03-17 Thread Kenneth Marshall
Can you use a pcre/regex map instead? Ken On Wed, Mar 17, 2010 at 04:53:37PM -0400, 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'

Re: reroute mail based on headers

2010-03-17 Thread mouss
Ryan Suarez a écrit : [snip] Cisco Unity allows users to receive their voicemail through email (as .wav attachment). This email contains the header 'X-CiscoUnity-MessageType'. They can also forward their voicemail to another user through email by sending it to