[exim-dev] [Bug 2599] delivery of local emails is slow when …

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2599] delivery of local emails is slow when multiple recipients are used, some being remote
https://bugs.exim.org/show_bug.cgi?id=2599

--- Comment #2 from martynas@??? ---
Yes, the delay is :)

It sends emails immediately to remote recipients. In queue it shows D for all
remote recipients, and nothing for local ones (as if it'd never tried to
deliver).

Example:
2020-04-09 09:43:49 cwd=/var/spool/exim 13 args: /usr/sbin/exim -MCP -MCS -MCt
51.2.249.58 34962 TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 -MC remote_smtp
mx02.server.com 84.80.245.138 1 1jMTiu-00AGk7-WB
2020-04-09 09:43:49 1jMTiu-00AGk7-WB <= k.butler@???
H=83-161-11-170.ip.dc.nl ([IPv6:::ffff:10.2.0.1]) [82.161.114.170] P=esmtpa
A=plain:k.butler@??? S=74569 T="Test: topic" from
<k.butler@???> for shendrix@???
b.vanderschalie@??? m.nobel@???
2020-04-09 09:43:49 1jMTiu-00AGk7-WB => shendrix@???
F=<k.butler@???> R=lookuphost T=remote_smtp S=76487
H=mx02.server.com [84.80.245.138] X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256
CV=no C="250 Ok: queued as 8C53F288006"
2020-04-09 10:34:41 1jMTiu-00AGk7-WB => b.vanderschalie
<b.vanderschalie@???> F=<k.butler@???>
R=spamcheck_director T=spamcheck S=74933
2020-04-09 10:34:41 1jMTiu-00AGk7-WB -> m.nobel <m.nobel@???>
F=<k.butler@???> R=spamcheck_director T=spamcheck S=74933
2020-04-09 10:34:41 1jMTiu-00AGk7-WB Completed

An email was sent from k.butler@??? to shendrix@???
With a cc to b.vanderschalie@??? and m.nobel@???

As you see, there is almost immediate delivery to remote server, while the
local one is delayed a lot.

If SMTP call is needed - please let me know, I'll try to strace it down (or try
catching it in exim debug mode).

The whole condition where we 'drop' it:
  drop  authenticated = *
        condition = ${if !eq{$acl_m_bc_skip}{1}}
        !verify =
recipient/defer_ok/callout=3s,maxwait=5s,connect=2s,defer_ok,use_sender,hold
        ratelimit = BC_LIM / BC_PERIOD / per_rcpt / user-$acl_m_user
        continue =
${perl{append_record}{$spool_directory/blocked_authenticated_users}{$acl_m_user}}
                continue = ${perl{block_cracking_notify}{smtp}}
        message = Account $acl_m_user has been blocked for sending to too many
invalid recipients
        logwrite = $acl_m_user has been added to
$spool_directory/blocked_authenticated_users


Called in acl_smtp_rcpt.

The following isn't there:
domains       = !+local_domains


Of coure we may add it to it, as this might workaround the issue if it's
related to "verify" call for the local domain while remote times out.. (I don't
think that's the case, but there is such a possibility).

If anything else needed - just let me know.

Thank you!

--
You are receiving this mail because:
You are on the CC list for the bug.