Re: [Exim] Exim 4.10: "Could not complete sender callout che…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ralf G. R. Bergs
Dátum:  
Címzett: exim-users@exim.org
CC: Philip Hazel
Tárgy: Re: [Exim] Exim 4.10: "Could not complete sender callout check" for domain w/o MX and unpingable A RR
On Mon, 26 Aug 2002 17:29:14 +0100 (BST), Philip Hazel wrote:

>On Mon, 26 Aug 2002, Ralf G. R. Bergs wrote:
>
>> Very strange that I get continuous temporary problems looking up the MX for
>> that domain, but even stranger is that the reply varies with the tool I'm
>> using:
>
>I see similar output for mx and dig. Try seeing what Exim is doing by
>using -d and -bt. This is with 4.10:
>
>$ exim -d -bt x@???
>Exim version 4.10 uid=1169 gid=1169 pid=51 L=834cd8 D=fff7577f
>...
>lookuphost router called for x@???
> domain = sagarika.aero.iisc.ernet.in
>DNS lookup of sagarika.aero.iisc.ernet.in (MX) gave NO_DATA
>returning DNS_NODATA
>DNS lookup of sagarika.aero.iisc.ernet.in (AAAA) gave NO_DATA
>returning DNS_NODATA
>DNS lookup of sagarika.aero.iisc.ernet.in (A) succeeded
>...
>
>and Exim routes happily to the A record.


This looks quite different on my box since I use AMaViS (transfer to AMaViS by
SMTP and re-inject back to Exim also via SMTP):

========================== 8x ===========================
# exim -d -bt theUser@???
Exim version 4.10 uid=0 gid=0 pid=22271 L=834cd8 D=fff7577f
[...]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing theUser@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering theUser@???
active address theUser@???
local_part=theUser domain=sagarika.aero.iisc.ernet.in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing theUser@???
--------> amavis router <--------
local_part=theUser domain=sagarika.aero.iisc.ernet.in
checking "condition"
calling amavis router
amavis router called for theUser@???
domain = sagarika.aero.iisc.ernet.in
route_item = * localhost byname
sagarika.aero.iisc.ernet.in in "*"? yes (matched "*")
original hostlist=localhost options=byname
expanded hostlist="localhost" options=byname
set transport amavis
local host found for non-MX address
fully qualified name = localhost
localhost 127.0.0.1
remote host address is the local host: sagarika.aero.iisc.ernet.in: configured
to try delivery anyway
queued for amavis transport: local_part = theUser
domain = sagarika.aero.iisc.ernet.in
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by amavis router
envelope to: theUser@???
transport: amavis
host localhost [127.0.0.1]
theUser@???
router = amavis, transport = amavis
host localhost [127.0.0.1]
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=22271 terminating with rc=0 >>>>>>>>>>>>>>>>>>

========================== 8x ===========================

Here's what in Exim's mainlog:

========================== 8x ===========================
2002-08-26 18:27:03 17jMhj-00052B-00 SA: SAEximRunCond expand returned: '1'
2002-08-26 18:27:03 17jMhj-00052B-00 SA: check succeeded, running spamc
2002-08-26 18:27:11 17jMhj-00052B-00 SA: savemail condition expanded to
false, not saving message to disk
2002-08-26 18:27:11 17jMhj-00052B-00 SA: score hits=1.3 required=5.0
(scanned in 8/8 secs)
2002-08-26 18:27:11 17jMhj-00052B-00 <= theUser@???
H=mailhub.mydomain.de (mailhub2.mydomain.de) [131.188.34.45]:54510
I=[131.188.28.10]:25 U=root P=esmtp S=2060 id=Pine.LNX.4.33.
0208262144120.12953-100000@??? T="The Subject"
from <theUser@???> for ourUser@???
2002-08-26 18:27:24 H=localhost [127.0.0.1]:47799 (amavis) sender verify
defer for <theUser@???>: Could not complete
sender callout check
2002-08-26 18:27:24 H=localhost [127.0.0.1]:47799 (amavis) F=
<theUser@???> temporarily rejected RCPT
<ourUser@???>: Sender verify callout did not complete
2002-08-26 18:27:24 17jMhj-00052B-00 == ourUser@??? R=amavis
T=amavis defer (0): SMTP error from remote mailer after end of data: host
localhost [127.0.0.1]: 451 from MTA while sending RCPT TO: 451 Sender
verify callout did not complete, id=19266-07
========================== 8x ===========================

In the last line "id=19266-07" refers to the AMaViS job id. Here's the
relevant part from AMaViS' logfile:

========================== 8x ===========================
Aug 26 18:27:11 myhost.mydomain.de amavisd[19266]: (19266-07) SMTP-in
[127.0.0.1] /var/lib/amavis/amavis-20020826T182426-19266:
<theUser@???> -> <ourUser@???>
[...]
Aug 26 18:27:14 myhost.mydomain.de amavisd[19266]: (19266-07) fwd via smtp:
[127.0.0.1:10025] <theUser@???> ->
<ourUser@???>
Aug 26 18:27:24 myhost.mydomain.de amavisd[19266]: (19266-07) mail checking
ended: DELIVERED
========================== 8x ===========================

To me the above all looks ok (apart from the fact that Exim still doesn't seem
to be able to figure out that it has to connect to the A RR.)

Sorry for bothering you with this, but isn't there anything else I can try in
order to find out why Exim is on the wrong track?

Let me repeat one question I asked previously because that would greatly help
me in such situations:

Is there a way to tell Exim to leave out sender verification for a specified
message id so that Exim can be told to deliver the message to our user WITHOUT
trying to call back to the sender's mailhost?

Thanks,

Ralf


--
Sign the EU petition against SPAM:          L I N U X       .~.
http://www.politik-digital.de/spam/        The  Choice      /V\
                                            of a  GNU      /( )\
                                           Generation      ^^-^^