Re: filter emails not only by domain

2011-01-20 Thread Noel Jones
On 1/20/2011 10:48 AM, Andrea Scarso wrote: Don't use FILTER for mail routing; it affects all recipients of a message. Do use transport_maps entries to direct specific recipients to the correct mail server. # transport_maps example.com smtp:[IP1] u...@example.com smtp:[IP2] I tried, but I

Re: filter emails not only by domain

2011-01-20 Thread Andrea Scarso
> Don't use FILTER for mail routing; it affects all recipients of a message. > > Do use transport_maps entries to direct specific recipients to the correct > mail server. > > # transport_maps > example.com  smtp:[IP1] > u...@example.com  smtp:[IP2] > I tried, but I have to know all addresses. Or i

Re: filter emails not only by domain

2011-01-20 Thread Victor Duchovni
On Thu, Jan 20, 2011 at 05:34:52PM +0100, Andrea Scarso wrote: > Hi, > i need to make a configuration to send mails as below: > > u...@domain.com > IP1 > user.to...@domain.com > IP2 > > So i added on transport_maps: > domain.com smtp:[IP1] > > and on header_checks: > /^to:.*\.town1@doma

Re: filter emails not only by domain

2011-01-20 Thread Noel Jones
On 1/20/2011 10:34 AM, Andrea Scarso wrote: Hi, i need to make a configuration to send mails as below: u...@domain.com > IP1 user.to...@domain.com > IP2 So i added on transport_maps: domain.com smtp:[IP1] and on header_checks: /^to:.*\.town1@domain\.com/ FILTER smtp:[IP2] It's

Re: filter emails not only by domain

2011-01-20 Thread John Adams
Am 20.01.2011 17:34, schrieb Andrea Scarso: Hi, i need to make a configuration to send mails as below: u...@domain.com > IP1 user.to...@domain.com > IP2 So i added on transport_maps: domain.com smtp:[IP1] and on header_checks: /^to:.*\.town1@domain\.com/ FILTER smtp:[IP2] It's

filter emails not only by domain

2011-01-20 Thread Andrea Scarso
Hi, i need to make a configuration to send mails as below: u...@domain.com > IP1 user.to...@domain.com > IP2 So i added on transport_maps: domain.com smtp:[IP1] and on header_checks: /^to:.*\.town1@domain\.com/ FILTER smtp:[IP2] It's ugly, but it works... obviously EXCEPTS for mai