Re: [Exim] Redirect Router

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Andreas J Mueller
Kopio: Gordon McKee, exim-users
Aihe: 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