[exim] Host lookup did not complete

Startseite
Nachricht löschen
Nachricht beantworten
Autor: James Smith
Datum:  
To: exim-users
Betreff: [exim] Host lookup did not complete
I have been searching now for around 4 hours for information on the problem
I am experiencing, but as yet I have found nothing to resolve the problem.

First of all, explanation of the problem:

Yesterday, 12/08/05, mail on a customer dedicated server stopped working.
Well, partially. Mail can be sent from the affected domain to any other
domain hosted anywhere. But .. sending to the affected domain name to an
address that forwards onto another address results in the error:

2005-08-13 01:24:51 1E3jpT-0001Rf-73 <= james@???
H=(web1.uh-hosting.co.uk) [213.230.203.64] P=esmtps X=TLSv1:AES256-SHA:256
S=2558 id=154f501c59f9d$5f3c5b00$6401a8c0@arse
2005-08-13 01:24:51 1E3jpT-0001Rf-73 == mailgwd@???
<ben@???> R=lookuphost defer (-1): host lookup did not
complete

So, sending from james@??? to ben@???, once
it hits ben@??? it then forwards onto
mailgwd@??? (Hey, I'd prefer the customer to just use a POP3
account on the server rather than forwarding, but never mind). It seems
during the process of going from ben@??? to
mailgwd@??? it generates the above error.

Now, the machines resolve.conf is fine. Its the same name servers every
other server on our /24 are using and they are not experiencing any similar
problems. dig, host etc .. all work for gameworlddirect.co.uk and for any
other domain name.

Output of exim -bt -d mailgwd@??? is as follows:

Exim version 4.51 uid=0 gid=0 pid=7874 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (September 21, 2004)
Support for: iconv() PAM Perl OpenSSL Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=7874
auxiliary group list: <none>
configuration file is /etc/exim.conf
log selectors = 00000ffc 00020800
trusted user
admin user
finduser used cached passwd data for mailman
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=12 euid=0 egid=12
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing mailgwd@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering mailgwd@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing mailgwd@???
--------> mailman_virtual_router router <--------
local_part=mailgwd domain=btinternet.com
checking require_files
file check:
/usr/local/cpanel/3rdparty/mailman/lists/${lc:$local_part}_${lc:$domain}/con
fig.pck
expanded file:
/usr/local/cpanel/3rdparty/mailman/lists/mailgwd_btinternet.com/config.pck
stat() yielded -1
errno = 2
mailman_virtual_router router skipped: file check
--------> mailman_virtual_router_nodns router <--------
local_part=mailgwd domain=btinternet.com
checking domains
search_open: lsearch "/etc/localdomains"
search_find: file="/etc/localdomains"
key="btinternet.com" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/localdomains
End
internal_search_find: file="/etc/localdomains"
type=lsearch key="btinternet.com"
file lookup required for btinternet.com
in /etc/localdomains
lookup failed
btinternet.com in "lsearch;/etc/localdomains"? no (end of list)
btinternet.com in "+local_domains"? no (end of list)
mailman_virtual_router_nodns router skipped: domains mismatch
--------> lookuphost router <--------
local_part=mailgwd domain=btinternet.com
checking domains
cached no match for +local_domains
cached lookup data = NULL
btinternet.com in "! +local_domains"? yes (end of list)
checking "condition"
Starting Perl interpreter
calling lookuphost router
lookuphost router called for mailgwd@???
domain = btinternet.com
DNS lookup of btinternet.com (MX) gave TRY_AGAIN
btinternet.com in dns_again_means_nonexist? no (option unset)
returning DNS_AGAIN
lookuphost router: defer for mailgwd@???
message: host lookup did not complete
mailgwd@??? cannot be resolved at this time:
host lookup did not completeroot@web1 [/var/log]# dig btinternet.com mx

; <<>> DiG 9.2.5 <<>> btinternet.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47849
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 0

;; QUESTION SECTION:
;btinternet.com.                        IN      MX


;; ANSWER SECTION:
btinternet.com.         600     IN      MX      30 mx2.bt.mail.yahoo.com.
btinternet.com.         600     IN      MX      20 mx1.bt.mail.yahoo.com.


;; AUTHORITY SECTION:
btinternet.com.         85131   IN      NS      dns4.btinternet.com.
btinternet.com.         85131   IN      NS      dns1.btinternet.com.
btinternet.com.         85131   IN      NS      dns2.btinternet.com.
btinternet.com.         85131   IN      NS      dns3.btinternet.com.


;; Query time: 4 msec
;; SERVER: 213.230.203.196#53(213.230.203.196)
;; WHEN: Sat Aug 13 02:14:19 2005
;; MSG SIZE rcvd: 162
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=7874 terminating with rc=1 >>>>>>>>>>>>>>>>


Strange, because it can be resolved:

root@web1 [/var/log]# host btinternet.com
btinternet.com has address 194.73.73.113

and ...

root@web1 [/var/log]# dig btinternet.com mx

; <<>> DiG 9.2.5 <<>> btinternet.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47849
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 0

;; QUESTION SECTION:
;btinternet.com.                        IN      MX


;; ANSWER SECTION:
btinternet.com.         600     IN      MX      30 mx2.bt.mail.yahoo.com.
btinternet.com.         600     IN      MX      20 mx1.bt.mail.yahoo.com.


;; AUTHORITY SECTION:
btinternet.com.         85131   IN      NS      dns4.btinternet.com.
btinternet.com.         85131   IN      NS      dns1.btinternet.com.
btinternet.com.         85131   IN      NS      dns2.btinternet.com.
btinternet.com.         85131   IN      NS      dns3.btinternet.com.


;; Query time: 4 msec
;; SERVER: 213.230.203.196#53(213.230.203.196)
;; WHEN: Sat Aug 13 02:14:19 2005
;; MSG SIZE rcvd: 162

I am completely lost with this problem. If anyone needs any other
information let me know and I'll provide it. Any help would be mucho
appreciated.

Regards,
James Smith,