[Exim] Premature DNS Timeout

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: I. Forbes
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Premature DNS Timeout
Hello All

I have a weird problem with timeouts on exim 3.12

We have a branch office server which shares e-mail address space
with the mail office. There is a smartuser director which forwards
unknown local names to the head office mail server.

The server is on a dial-up line, so that some services like DNS are
not available when the machine is off-line.

I have this configuration:

Under Routers:

# This transport is used for delivering undefined local messages to
central serv

undef_local:
driver = smtp
max_rcpt = 25
hosts = smtpsmarthost.domain.com


Under Directors:

default_local:
driver = smartuser
transport = undef_local


Under Retry Rules:

domain.com            *               F,24h,5m; F,6d,1h
*                      *           F,2h,5m; G,16h,2h,1.5; F,6d,8h


When the dial-up is off-line, I would expect outgoing messages to
get queued until it the server is on-line and a queue runner is
initiated to flush the queue.

It works for all mail except mail destined for the head office. That is
bounced with a premature timeout. As per these logs (this one
spent less than a minute on the queue - it should have been there
for up to 6 days. The queue was empty a short while before this
failure:


2002-03-15 11:39:01 16loAv-0005gG-00 <=
branchuser@??? H=(Pedro) [192.168.1.37] P=smtp
S=1163
id=OLEAIIMKNKLBOLDBDHOLOEFACAAA.branchuser@domain.
com

2002-03-15 11:40:16 16loAv-0005gG-00 ==
headofficeuser@??? T=undef_local defer (-33): failed to
lookup IP address for smtpsmarthost.com

2002-03-15 11:40:16 16loAv-0005gG-00 **
headofficeusers@???: retry timeout exceeded

2002-03-15 11:40:16 16loC8-0005gb-00 <= <> R=16loAv-
0005gG-00 U=mail P=local S=2291

2002-03-15 11:40:16 16loAv-0005gG-00 Error message sent to
branchuser@???

2002-03-15 11:40:16 16loAv-0005gG-00 Completed


Is there a bug in Exim?

Are DNS timeouts treated differently to other timeouts?

Is there something recording previous DNS lookup failures. If so
when does this info get wiped?

In the meantime I have just replaced the smarthost's hostname with
its IP address, but it does not seem to me to be the "right" way to fix
this.

Thanks

Ian

---------------------------------------------------------------------
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 21 683-1388 Fax: +27 21 674-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
---------------------------------------------------------------------