[Exim] hostname lookups fail - nameserver never gets queried

Top Pagina
Delete this message
Reply to this message
Auteur: Roman Milner
Datum:  
Aan: exim-users
Onderwerp: [Exim] hostname lookups fail - nameserver never gets queried
Hi. I'm trying to get exim up and working and I'm having a problem
with name resolution.

Whenever I'm sending a mail with exim I get " == rmilner@???
R=lookuphost defer (-1): host lookup did not complete" - I get this
no matter what domain I send to. (Full details with -d9 are below.)

So, I turned on query logging on the DNS and exim is not sending any
query to the DNS. Calling gethostbyname() by hand works, but setting
gethostbyname = true in my lookuphost router doesn't help. The
nameserver is able to resolv this host fine.

So, can someone help? I don't understand why exim isn't sending a
query to the DNS. Sendmail, BTW, works fine for sending mail on this
box. Does exim try to contact the DNS is any sort of unusual way? I
do have firewalling on this box and some ports are blocked - including
53 on the external interface. I did, however, unblock it for testing
and still got the failure.

Below I have output for an nslookup on the domain I'm sending to and
from exim -d9 -M. Thanks in advance.

^Roman



root@pbob /usr/local/exim/bin# nslookup
Default Server: pbob.speeder.org
Address: 192.168.0.1

> set type=any
> pointone.com

Server: pbob.speeder.org
Address: 192.168.0.1

Non-authoritative answer:
pointone.com    nameserver = NS1.pointone.com
pointone.com    nameserver = NS2.pointone.com
pointone.com    nameserver = NS1.dbcity.com
pointone.com    nameserver = NS.dbcity.com
pointone.com    internet address = 209.217.128.3
pointone.com    preference = 10, mail exchanger = mail.pointone.com
pointone.com    preference = 15, mail exchanger = NS1.pointone.com


Authoritative answers can be found from:
pointone.com    nameserver = NS1.pointone.com
pointone.com    nameserver = NS2.pointone.com
pointone.com    nameserver = NS1.dbcity.com
pointone.com    nameserver = NS.dbcity.com
NS1.pointone.com        internet address = 209.217.128.11
NS2.pointone.com        internet address = 209.217.128.12
NS1.dbcity.com  internet address = 208.2.77.26
NS.dbcity.com   internet address = 208.2.77.19
mail.pointone.com       internet address = 209.217.128.2

>










root@pbob /usr/local/exim/bin# ./exim -d9 -M 13BXP0-0000Xi-00
Exim version 3.15 debug level 9 uid=0 gid=0
Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
pbob.speeder.org in local_domains? yes (matched pbob.speeder.org)
Actual local interface address is 127.0.0.1
Actual local interface address is 24.27.51.96
Actual local interface address is 192.168.0.1
Caller is an admin user
Caller is a trusted user
set_process_info: 2097 3.15 delivering specified messages
delivering message 13BXP0-0000Xi-00
set_process_info: 2097 3.15 delivering 13BXP0-0000Xi-00
Opened spool file 13BXP0-0000Xi-00-H
user=root uid=0 gid=0 sender=root@???
sender_local=1 resent=no ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=2 message_linecount=7
Delivery address list:
rmilner@???
locked /usr/local/exim/spool/db/retry.lockfile
opened DB file /usr/local/exim/spool/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: rmilner@???
pointone.com in local_domains? no (end of list)
unique = rmilner@???
dbfn_read: key=R:pointone.com
dbfn_read: key=R:rmilner@???
rmilner@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>

After directing:
  Local addresses:
  Remote addresses:
  Failed addresses:
  Addresses to be routed:
    rmilner@???
  Deferred addresses:

>>>>>>>>>>>>>>>>>>>>>>>>

routing rmilner@???, domain pointone.com
lookuphost router called for rmilner@???
dns lookup: route_domain = pointone.com
DNS lookup of pointone.com (MX) gave TRY_AGAIN
pointone.com in dns_again_means_nonexist? no (end of list)
returning DNS_AGAIN
lookuphost router deferred pointone.com
message: host lookup did not complete
added retry item for R:pointone.com: errno=-1 0 flags=0
post-process rmilner@???
LOG: 0 MAIN
== rmilner@??? R=lookuphost defer (-1): host lookup did not complete
search_tidyup called
set_process_info: 2097 3.15 tidying up after delivering 13BXP0-0000Xi-00
Processing retry items
Succeeded addresses:
Failed addresses:
Deferred addresses:
rmilner@???
locked /usr/local/exim/spool/db/retry.lockfile
opened DB file /usr/local/exim/spool/db/retry: flags=42
pointone.com in *? yes (*)
retry for R:pointone.com = *
dbfn_read: key=R:pointone.com
Writing retry data for R:pointone.com
first failed=963207032 last try=963211879 next try=963212779 expired=0
error -1 0: host lookup did not complete
dbfn_write: key=R:pointone.com
end of retry processing
time on queue = 29s
warning counts: required 0 done 0
delivery deferred: update_spool=0 header_changed=0
end delivery of 13BXP0-0000Xi-00