On 2024-07-11, Jeremy Harris via Exim-dev <exim-dev@???> wrote:
> On 09/07/2024 10:55, Jasen Betts via Exim-dev wrote:
>> I'm seeing it run the true branch of that if for "Remote host closed connection in
>> response to DATA" resulting in discarded (instead of retried and delivered) email
>> messages.
>
> A retry would require having had a 4xx; 2 or 5 wouldn't get you one.
> What was logged?
>
>> Might need to also add "DATA" and "BDAT" checks on smtp_command ?
>
> According to the comment, we have reached the end-of-data: either the
> final-dot for DATA, or the full count for BDAT.
> Are you thinking this is not so?
>
> Have you checked with debug?
It's happening for like 1 in 100000 emails (the host beiong deliverd
to is a little flaky), I commented out the contents of the true branch,
(because I was only seeing that code lose emails), and what printed
next was "Remote host closed connection in response to DATA"
I haven't tried to replicate it in verbose mode I'll try that
(delivering to netcat) next week.
--
Jasen.
🇺🇦 Слава Україні
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/