Re: [EXIM] exim looking up smarthost even if queue_smtp=yes?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Marc Haber
CC: exim-users
Subject: Re: [EXIM] exim looking up smarthost even if queue_smtp=yes?
On Mon, 3 May 1999, Marc Haber wrote:

> In my exim, I have set queue_smtp=yes.


> Whenever I deliver e-mail to exim via port 25, this causes a lookup
> for smtp-smarthost.gf1.internal. This triggers my dial-up connection.


> Is there any way to disable these DNS queries if queue_smtp=yes?


Well, the whole point of queue_smtp is to cause Exim to route a message
as soon as it arrives, but not to do the actual transport. If routing
requires a DNS lookup, then it is going to do it. If you don't want
this, use queue_remote instead.

> Exim
> doesn't really need to look up the smarthost at this early stage of
> delivery. It only needs to look it up when the actual delivery is
> taking place, during a queue run.


Then use queue_remote and do your queue runs with -qq instead of -q.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



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