Re: [exim] smarthost deferral?

Top Page
Delete this message
Reply to this message
Author: Matthias Waffenschmidt
Date:  
To: exim-users
Subject: Re: [exim] smarthost deferral?
Hi,

On Fri, Apr 20, 2007 at 02:24:06PM -0400, Arthur Hagen wrote:
> Situation:
> Network with multiple internet gateways.
> Smarthost only accessible through one gateway.
> The local mail host can send to the outside just fine -- the smarthost
> is primarily used to avoid spooling locally.
>
> Problem:
> The line to the smarthost isn't 100% reliable (after AT&T took over the
> phone company and lines).
> Is there a way to defer a smarthost if it's not available, and continue
> with normal routers? Something like:
>
> smart_route
> driver = manualroute
> transport = remote_smtp
> route_list = !+relay_to_domains smarthost:defer
>
> dnslookup:
> ...
>
> In other words, have the messages sent directly if the smarthost can't
> be reached, instead of being queued for delivery to the smarthost? You
> can specify more than one smarthost which will be tried in turn, but as
> long as there's at least one, there's no fallthrough to the next router,
> as far as I can tell?
>
> Alternatively, could the route be regenerated (with smarthost removed)
> at the transport side if timing out?


Setting the generic router option pass_on_timeout should fix your
problem:

http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch15.html#id2649111

-- 
Gruss / Best regards   |  LF.net GmbH        |  fon +49 711 90074-411
Matthias Waffenschmidt |  Ruppmannstr. 27    |  fax +49 711 90074-33
mw@???              |  D-70565 Stuttgart  |  http://www.lf.net