Marc Perkel <marc@???> (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 -