Ted Cooper schrieb:

> Oscar Mas wrote:
>> I have two dsl and i'd like change the default gateway of exim.

> To change the source interface of outgoing smtp connections. Throw into 
> your smtp transport.
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch30.html#id606642

In addition, make sure the traffic leaves the system on the correct 
interface. You probably need source policy routing to do that. On Linux:

ip rule add from $EXIM_IP table 201
ip route add default via $EXIM_DEFAULT_GW_IP dev $EXIM_INTERFACE_NAME 
table 201

/tom

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to