Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Skipping routers on bad DNS

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


marc at perkel

Feb 3, 2010, 11:48 AM

Post #1 of 4 (546 views)
Permalink
Skipping routers on bad DNS

defer (-1): host lookup did not complete

Can I bypass this and redirect the email to a different host on name
server failure?

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


martin at antibodymx

Feb 3, 2010, 1:10 PM

Post #2 of 4 (517 views)
Permalink
Re: Skipping routers on bad DNS [In reply to]

On Wed, February 3, 2010 7:48 pm, Marc Perkel wrote:
> defer (-1): host lookup did not complete
>
> Can I bypass this and redirect the email to a different host on name
> server failure?
>

fallback_hosts maybe?

http://www.exim.org/exim-html-current/doc/html/spec_html/ch30.html


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


marc at perkel

Feb 3, 2010, 3:46 PM

Post #3 of 4 (516 views)
Permalink
Re: Skipping routers on bad DNS [In reply to]

Martin A. Brooks wrote:
> On Wed, February 3, 2010 7:48 pm, Marc Perkel wrote:
>
>> defer (-1): host lookup did not complete
>>
>> Can I bypass this and redirect the email to a different host on name
>> server failure?
>>
>>
>
> fallback_hosts maybe?
>
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch30.html
>
>
>

Unfortunately fallback host doesn't work for DNS errors.
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


hs at schlittermann

Feb 3, 2010, 11:11 PM

Post #4 of 4 (504 views)
Permalink
Re: Skipping routers on bad DNS [In reply to]

Marc Perkel <marc [at] perkel> (Mi 03 Feb 2010 20:48:45 CET):
> defer (-1): host lookup did not complete
>
> Can I bypass this and redirect the email to a different host on name
> server failure?

Maybe something like this:

dnslookup:
driver = dnslookup
domains = …
condition = ${run{dig +short mx $domain \
+ some logic to detect the server failure}{true}{false}}


BUT I'd say the following looks cleaner.

dnslookup:
driver = dnslookup
domains = …

pass_on_timeout

dns_had_timeout:
driver = manual
domains = …


But „timeout“ is probably != „server failure“. There is one other
relevant option „host_find_failed“, but according the specs it does not
apply to server failures.


Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann HS12-RIPE -----------------------------------------
gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -
Attachments: signature.asc (0.19 KB)

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.