[EXIM] Question with fallback_hosts and DNS timeouts

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: David Shaw
Fecha:  
A: exim-users
Asunto: [EXIM] Question with fallback_hosts and DNS timeouts
Hi all,

I am running 1.92 with fallback_hosts enabled. It works fine, except in
one circumstance - if a receipent's host cannot be looked up at all due to
the DNS just timing out (i.e. no answer either positive or negative) the
message is not sent to the fallback host. It is instead kept in the
queue.

If the DNS succeeds but the host is not available (times out or connection
refused), then fallback_hosts does work.

Is this correct behavior? I would think that if a message couldn't be
delivered for *any* reason it would go to the fallback host..

On further thought, I guess the problem is that since fallback_hosts is in
the SMTP transport, and the DNS failure is happening in the lookuphost
router, the message never progresses to the transport level.

I wonder if something could be done with pass_on_timeout and a different
router following lookuphost to just blindly forward the mail elsewhere.

David

-- 
    David Shaw  |  dshaw@???  |  WWW http://www.cs.jhu.edu/~dshaw/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson


--
*** Exim information can be found at http://www.exim.org/ ***