Rodney Campbell
2004-04-16 02:00:52 UTC
We have a scenario basically like the following:
Internet <-> Postfix Relay (Outside) <-> Postfix Relay (Inside) (with AV,
etc) <-> Lots of Internal Relays and Destinations
Now we want to deplay some new AV software on the Inside Postfix Relay and
so I've setup a box in parallel with the existing system for testing
purposes. I've set it up with a nulltransport so all mail sent to it
eventually vanishes to /dev/null (after being virus scanned, etc).
The Outside Postfix relay(s) basically have a transport table which lists
a bunch of internal domains with entries to send all mail for that domain
using SMTP to the Inside relay:
our.domain smtp:[internal-relay-name]
...
Now I want to test the new AV/postfix relay by directing real (incoming)
traffic to it (from the outside systems) both as a test of the new
software and also for performance loading reasons.
To do this I'd like to be able to change the postfix config so that for
all mail which was going to be sent to internal-relay-name it also sends a
duplicate copy to my testinternal-relay-name. i.e. it basically "tee"s the
mail to two relays.
Is there some postfix trickery I can configure to do this?
I actually don't mind if ALL email that hits the outside relay (be it
inbound or outbound) is tee'd off to the test relay (even more traffic
sent to it) - it will all be /dev/nulled there anyway so people won't get
duplicate deliveries.
Thanks,
Rodney...
Rodney Campbell |Email : ***@Telstra.com.au
Telstra Corp. Ltd |Snail : Locked Bag 6560, Sydney 2000, Australia.
Telstra Technology | : Level 17, 320 Pitt St, Sydney NSW 2000.
Data & Transport |Phone : +61 2 9396 8512 Fax: +61 2 9396 8527
www.rc.au.net |PGP : 6C 3A 76 83 75 71 24 9D 38 08 52 05 A7 6C 66 76
Internet <-> Postfix Relay (Outside) <-> Postfix Relay (Inside) (with AV,
etc) <-> Lots of Internal Relays and Destinations
Now we want to deplay some new AV software on the Inside Postfix Relay and
so I've setup a box in parallel with the existing system for testing
purposes. I've set it up with a nulltransport so all mail sent to it
eventually vanishes to /dev/null (after being virus scanned, etc).
The Outside Postfix relay(s) basically have a transport table which lists
a bunch of internal domains with entries to send all mail for that domain
using SMTP to the Inside relay:
our.domain smtp:[internal-relay-name]
...
Now I want to test the new AV/postfix relay by directing real (incoming)
traffic to it (from the outside systems) both as a test of the new
software and also for performance loading reasons.
To do this I'd like to be able to change the postfix config so that for
all mail which was going to be sent to internal-relay-name it also sends a
duplicate copy to my testinternal-relay-name. i.e. it basically "tee"s the
mail to two relays.
Is there some postfix trickery I can configure to do this?
I actually don't mind if ALL email that hits the outside relay (be it
inbound or outbound) is tee'd off to the test relay (even more traffic
sent to it) - it will all be /dev/nulled there anyway so people won't get
duplicate deliveries.
Thanks,
Rodney...
Rodney Campbell |Email : ***@Telstra.com.au
Telstra Corp. Ltd |Snail : Locked Bag 6560, Sydney 2000, Australia.
Telstra Technology | : Level 17, 320 Pitt St, Sydney NSW 2000.
Data & Transport |Phone : +61 2 9396 8512 Fax: +61 2 9396 8527
www.rc.au.net |PGP : 6C 3A 76 83 75 71 24 9D 38 08 52 05 A7 6C 66 76