Re: [Exim] multiple ip address (re)routing

Top Page
Delete this message
Reply to this message
Author: Tamas TEVESZ
Date:  
To: Cami
CC: exim-users
Subject: Re: [Exim] multiple ip address (re)routing
On Thu, 27 Jun 2002, Cami wrote:

> Heres a question, lets say a client has a machine running exim 4,
> and has 3 network cards..
>
 > [isp1][isp2]
 >    |         |
 > [exim4box]
 >        |
 > [internal network]

>
> Is it possible to configure exim to route specific domains through one isp
> and other domains through the other? (each isp is on a different ip and each
> different ip is on a different network card..)


yes. it could be something like that:

multi_remote:
driver = domainlist
transport = remote_smtp
route_list = "* ${lookup{$domain}lsearch{/etc/exim/routetab}} byname"

i think you have $domain here ;) i use this (principally this) to
do source-based routing (thus $sender_host_address instead of $domain)
and it works like a charm.

if this doesn't work, i still have a thousand and one more ideas ;>

um, exim4. mine is v3. the method should still apply, though

--
[-]