Author: Rob Szarka Date: To: exim-users Subject: Re: [exim] Help using cutthrough_delivery
On 7/7/2016 7:12 PM, Jeremy Harris wrote: > Right. As I said originally, in the other cases I tested there was no
>> mention of cutthrough at all. Something is keeping cutthrough from
>> happening even though, apparently, it should.
>>
>> Any other ideas what to try?
> Like I said: debug output. Does it go through the acl verb
> requesting cutthrough (I'm confused; you said before it does
> but here you're saying there's no mention of cutthrough) -
> and after there what mentions of callout and cutthrough
> are there?
>
> Feel free to pastebin the entire debug output somewhere.
Yes, it goes through the verb requesting cutthrough. As a reminder,
here's what I posted earlier:
> But in testing with real sender/recipient/IP data pulled from my logs,
> I see no mention at all of cutthrough after processing the warn:
>
> using ACL "check_recipient"
> processing "warn"
> check control = cutthrough_delivery
> warn: condition test succeeded in ACL "check_recipient"
>
> then we eventually hit the relevant acl block and trigger callout
> verification:
>
> CUSTOMER in "+relay_domains"? yes (matched "+relay_domains")
> check logwrite = DEBUG made it to this acl
> LOG: MAIN
> DEBUG made it to this acl
> check verify = recipient/callout=use_sender
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Verifying CUSTOMER
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Considering CUSTOMER
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> routing CUSTOMER
>
> with this eventual result:
>
> Attempting full verification using callout
> locking /var/spool/exim/db/callout.lockfile
> locked /var/spool/exim/db/callout.lockfile
> EXIM_DBOPEN(/var/spool/exim/db/callout)
> returned from EXIM_DBOPEN
> opened hints database /var/spool/exim/db/callout: flags=O_RDWR
> dbfn_read: key=CUSTOMER
> callout cache: found domain record for CUSTOMER
> dbfn_read: key=CUSTOMER/<ef0d0c3@???>
> callout cache: found address record for CUSTOMER/<ef0d0c3@???>
> callout cache: address record is positive
> ----------- end verify ------------
> accept: condition test succeeded in ACL "check_recipient"
> end of ACL "check_recipient": ACCEPT
> SMTP>> 250 Accepted
> 250 Accepted
>
> and then we proceed through DATA and wind up at
>
> using ACL "check_message"
> processing "accept"
> accept: condition test succeeded in ACL "check_message"
> end of ACL "check_message": ACCEPT
> calling local_scan(); timeout=300
> local_scan() returned 0 NULL
> LOG: MAIN
> <= ef0d0c3@??? H=200-113-127-178.static.tie.cl
> [200.113.127.178] P=smtp S=298
> SMTP>> 250 OK id=1bJ67b-0004Hi-7i
> 250 OK id=1bJ67b-0004Hi-7i
>
> I grepped for "cutthrough" in the output, just to be sure, and the
> only hit is when it processes the warn.