Re: [Exim] Redirect Router

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Andreas J Mueller
CC: Gordon McKee, exim-users
Betreff: Re: [Exim] Redirect Router
On Mon, 1 Sep 2003, Andreas J Mueller wrote:

> > special:
> > driver = manualroute
> > transport = remote_smtp
> > route_list = optimalprofit.com nt-opro-h0.gdmckee.home
>
> > remote_smtp:
> > driver = smtp
> > fallback_hosts = smtp.blueyonder.co.uk
>
> First option: Add "fallback_hosts =" or "fallback_hosts = :" to your
> special router. This might override the fallback_hosts list on the
> remote_smtp transport (not sure, but try it ;-).


A router's fallback host list overrides a transport's - this is
documented. However, an *unset* router fallback host list won't
override.

> Second option: Create a new transport remote_smtp_nofb without the
> fallback_hosts list and set "transport = remote_smtp_nofb" in the
> special router.


That is the correct solution. With the configuration you have, Exim has
done exactly what you told it to. It tried nt-opro-h0.gdmckee.home,
found it was down, so used the fallback host list you gave it. If you
don't want fallback hosts, don't specify them!

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book