Replication of SMTP packet

Hi,

I’m testing a new mail server on my network and I need to have both the new and the old working at the same time.

How can I copy all SMTP packet arriving on the old server to the new ? Any idea ? I can’t manage to do that with iptables.

Tnx in advance !

I don’t know if there is a way to automatically bounce all emails received on one to the other. However, you mention IP Tables–I have a hard time seeing how you could do a set-up on the gateway/router to forward packets of the same type and same port to two different IP addresses. It might be possible, but it sounds kinda dodgy…

Like I said, I would try to set it up so that only one receives from outside, and then automatically bounces things to the other one. I’m assuming that will satisfy your objective, but maybe not…

I don’t want to change the settings of my mail servers as one have to work without the other. They have to be 100% independent.

bhurtlin wrote:
> Hi,
>
> I’m testing a new mail server on my network and I need to have both the
> new and the old working at the same time.
>
> How can I copy all SMTP packet arriving on the old server to the new ?
> Any idea ? I can’t manage to do that with iptables.
>
> Tnx in advance !
>
>

Can’t you let the old mail server do that?
In e.g. Postfix I would set a transport to ‘* smtp:[ip.of.new.server]’
and create a catch-all adress with ‘always_bcc’ so Postfix forwards
everything it receives to another server as well as delivering the mail
locally.

Of course i can configure the old to do that… but it’s a outdated Novell Groupwise 5 and i have no idea how to do that :wink: (and i can’t find informations on the net…)

Hi
You might try asking over in the Novell Groupwise forums at
forums.novell.com.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 4 days 7:56, 1 user, load average: 0.04, 0.03, 0.04
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12