Re: [exim] temporary errors (LDAP failures) while routing

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Lutz Preßler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] temporary errors (LDAP failures) while routing
Hello Phil,
On Tue, 14 Jul 2009, Phil Pennock wrote:
> On 2009-07-14 at 17:25 +0200, Lutz Preßler wrote:
> > dest_a:
> > driver = manualroute
> > domains = example.com
> > condition = ${lookup ldapm{..URL..}{yes}{no}}
> > route_list = * host_a bydns
> > transport = internal_smtp
> >
> > dest_b:
> > ...
> >
> >
> > the following problem is not trivial to solve it seems:
> >
> > As "9.5 Temporary errors in lookups" of the spec states
> > Lookup functions can return temporary error codes if the lookup cannot be

[...]
> > if _one_ destination system is not available, messages to _every_ user in this
> > domain will be deferred (even those at other destinations).

[...]
> It's for precisely the problem of not knowing how other LHSs will be
> routed that the dnslookup and manualroute Routers have a
> "same_domain_copy_routing" option, which defaults to false.

That's why multiple routers can route the same destination domain - which
works, of course. But if the lookup times out in the first router
while figuring out if it should handle this local part, the message
is deferred immediately without doing the lookups in the other router(s).

Lutz

-- 
Lutz Preßler  <Lutz.Pressler@???>    http://www.SerNet.DE/
SerNet Service Network GmbH, Bahnhofsallee 1b, D-37081 Göttingen
Tel.: +49-551-370000-2,      FAX: +49-551-370000-9
AG Göttingen, HRB 2816,      GF: Dr. Johannes Loxen