Re: [exim] +ignore_unknown and dns defers (2 part)

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: David Saez Padros
CC: EXIM mailing list
Assumpte: Re: [exim] +ignore_unknown and dns defers (2 part)
On Thu, 30 Mar 2006, David Saez Padros wrote:

> It also looks like dns_again_means_nonexist has little effect
> and does not solve the problem:
>
> > > > check hosts = +ignore_unknown : *.$sender_address_domain
> :$sender_address_domain : ${lookup dnsdb{>:
> defer_never,mxh=$sender_address_domain}}
> > > > cioce.com in dns_again_means_nonexist? yes (matched "cioce.com")
> > > > no IP address found for host cioce.com (during SMTP connection from
> smtp.telefonica.net (ctsmtpout1.frontal.correo) [213.4.149.66])
> > > > host in "+ignore_unknown : *.cioce.com :cioce.com : "? lookup
> deferred for cioce.com
> > > > accept: condition test deferred
> > > > deny: condition test deferred
> > > > drop: condition test deferred
> 451 Temporary local problem - please try later


Is that the complete debug output? I cannot reproduce this effect when
testing. What I see is this:

check hosts = +ignore_unknown : *.$sender_address_domain : $sender_address_domain : ${lookup dnsdb{>:defer_never,mxh=$sender_address_domain}}
search_open: dnsdb "NULL"
search_find: file="NULL"
key=">:defer_never,mxh=cioce.com" partial=-1 affix=NULL starflags=0
LRU list:
internal_search_find: file="NULL"
type=dnsdb key=">:defer_never,mxh=cioce.com"
database lookup required for >:defer_never,mxh=cioce.com
dnsdb key: cioce.com
DNS lookup of cioce.com (MX) gave TRY_AGAIN
cioce.com in dns_again_means_nonexist? yes (matched "*")
cioce.com is in dns_again_means_nonexist: returning DNS_NOMATCH
lookup failed
sender host name required, to match against *.cioce.com

<snip lookup of calling host name and check of *.cioce.com, which fails>

DNS lookup of cioce.com (A) gave TRY_AGAIN
cioce.com in dns_again_means_nonexist? yes (matched "*")
cioce.com is in dns_again_means_nonexist: returning DNS_NOMATCH
gethostbyname2(af=inet) returned 1 (HOST_NOT_FOUND)
no IP address found for host cioce.com (during SMTP connection from ...])
LOG: host_lookup_failed MAIN
no IP address found for host cioce.com (during SMTP connection from ...)
failed to find IP address for cioce.com: item ignored by +ignore_unknown
host in "+ignore_unknown : *.cioce.com : cioce.com : "? no (end of list)
accept: condition test failed


Philip

--
Philip Hazel, University of Cambridge Computing Service.