Given a Linux server with three network cards:

        eth0: 192.168.1.1 (local LAN)
        eth1: 20.20.20.20 (default GW, hi speed Internet, dynamic address)
        eth2: 30.30.30.30 (Internet, reserved to e-mail, static address)

This server is the default gateway of the organization and NATs the local addresses via 20.20.20.20. Al traffic must go through 20.20.20.20 EXECPT e-mail that should go through 30.30.30.30.

Binding Postfix (via inet_interfaces directive) to 192.168.1.1 and 30.30.30.30 (and localhost) will be enough to tell Postfix to deliver mail via 30.30.30.30 and NOT via the system default gateway 20.20.20.20?


Thank you in advance.


Ciao,
luigi

--
/
+--[Luigi Rosa]--
\

James Bond: Are these pictures live?
M: Unlike the Americans, we prefer not to get our bad news from CNN.
    --"007 Goldeneye"

Reply via email to