[Exim] Multiple gateway servers

Pàgina inicial
Delete this message
Reply to this message
Autor: Rolf Habing
Data:  
A: exim-users
Assumpte: [Exim] Multiple gateway servers
Hi,

We've got a setup where we've got two gateway email servers, primary and
secondary MX. The idea is that the primary MX handles all incoming
stuff, whereas the secondary will handle all outgoing stuff, but each
can take over the other one's function. On the outside, that's all
controlled OK through DNS.
On the inside, we've got one exim-based hub. Normally it gets it's
incoming stuff from gate1, and forwards all outgoing mail to gate2. We
do not have internal DNS, but I'd still like to construct a redundacy
feature where gate1 takes outgoing stuff if gate2 goes down. Would the
following router configuration work?

 send_to_gateway:
    driver = domainlist
    transport = remote_smtp
    route_list = *  gate2:gate1 byname


I'm unsure about the use and application of the host list in route_list.
I can't seem to work out from the documentation whether the second host
in the list will only be tried if the first one doesn't answer, or
whether mail goes to both sides.

Any advise would be much appreciated.

thanks,

Rolf Habing
Systems and Networking
Canterbury Christ Church University College