Re: [Exim] My misunderstanding of DNS TRY_AGAIN.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Tom Marazita
CC: exim-users, postmaster
Tárgy: Re: [Exim] My misunderstanding of DNS TRY_AGAIN.
On Wed, 23 Oct 2002, Tom Marazita wrote:

> Here is a short portion of debugging output from exim-4.10 for
> a message addressed to iwasborn.com:
>
> routing nobody@???
> --------> lookuphost router <--------
> local_part=nobody domain=iwasborn.com
> checking domains
> iwasborn.com in "mail.engr.ucsb.edu : engineering.ucsb.edu : engr.ucsb.edu : alumni.engr.ucsb.edu : eci.ucsb.edu : cnsi.ucsb.edu
> : www1.engr.ucsb.edu"? no (end of list)
> iwasborn.com in "! +local_domains"? yes (end of list)
> cached lookup data = NULL
> calling lookuphost router
> lookuphost router called for nobody@???
>    domain = iwasborn.com
> DNS lookup of iwasborn.com (MX) gave TRY_AGAIN
> iwasborn.com in dns_again_means_nonexist? no (option unset)
> returning DNS_AGAIN
> lookuphost router: defer for nobody@???
>    message: host lookup did not complete
> nobody@??? cannot be resolved at this time:
>    host lookup did not complete
> search_tidyup called
>  >>>>>>>>>>>>>>>>>> Exim pid=21147 terminating with rc=1 >>>>>>>>>>>>>>>>>>


It should have logged something. Or was that really from a -bt run?

> I would have thought this would still queue the message for delivery
> and try again later


It will, if it actually has the message in its hand.

> (although I have a feeling iwasborn.com
> will never be back, other domains returning TRY_AGAIN might
> only be unavailable temporarily); however, the message is rejected
> immediately with a 451 error after the rcpt:


... so it never has the message. It must be testing the address as part
of the incoming ACL.

> mail from: nobody@???
> 250 OK
> rcpt to: nobody@???
> 451 Temporary local problem - please try later
>
>
> I don't have any recipient verification enabled in the ACLs.


Are you sure of that? Anyway, the way to see what is happening is to run
a test using -bh and feed it those SMTP commands. Add -d if you want
full debugging output.

> My hope would be that the message could be accepted and queued for
> further delivery attempts, and then eventually bounced if their
> DNS continued to return TRY_AGAIN.


That will happen if Exim accepts the message.

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