OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: route one incoming mail to several smtp servers

From: Alain Kelder (akak4life.com)
Date: Thu Feb 14 2008 - 19:17:08 CST


Just had a thought (uh-oh). Could I accomplish my goal with the
following virtual_alias_maps and transport_maps setup?

virtual_alias_maps:

userdomain.tld userdomain1.tld userdomain2.tld
blahdomain.tld userdomain1.tld userdomain2.tld
testdomain.tld userdomain1.tld userdomain2.tld
...

transport_maps:

domain1.tld relay:[192.168.0.2]
domain2.tld relay:[192.168.0.3]

Where mx2 and mx3 are 192.168.0.2 and 192.168.0.3, respectively. mx1 is
Internet facing and its public IP is in the mx record for domain.tld...

Alain Kelder wrote:
> Hello,
>
> I'm looking to test out two different Anti-SPAM solutions and would
> like each incoming message to be routed to two SMTP servers, like so:
>
> Internets ---> [ mx1 ] ---> [ mx2+anti-spam1 ] ---> [ mailstore1 ]
> |
> |
> |---> [ mx3+anti-spam2 ] ---> [ mailstore2 ]
>
> Where for each incoming message, mx1 would send an identical copy to
> mx2 and mx3. What sort of a Postfix configuration on mx1 accomplish
> this? Would the always_bcc option do this?
>
> thanks a bunch!
>