https://bugs.exim.org/show_bug.cgi?id=2230
Bug ID: 2230
Summary: cutthrough with multiple SMTP sessions over a single
connection
Product: Exim
Version: 4.90
Hardware: x86
OS: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Delivery in general
Assignee: nigel@???
Reporter: todd@???
CC: exim-dev@???
cutthrough delivery doesn't work as expected for multiple envelopes sent over
the same connection. I am not sure whether this behavior is supposed to be
supported (if seems like it should be), but the current state is pretty
strange.
The following session will do cutthrough for the first envelope but not for the
second:
EHLO example.com
MAIL FROM: sender@???
RCPT TO: recipient1@???
DATA
.
MAIL FROM: sender@???
RCPT TO: recipient1@???
DATA
.
QUIT
The following session will do cutthrough for the first envelope, and some
broken attempt to do it for the second (it opens up a cutthrough connection for
recipient2 but subsequently closes it):
EHLO example.com
MAIL FROM: sender@???
RCPT TO: recipient1@???
DATA
.
MAIL FROM: sender@???
RCPT TO: recipient1@???
RCPT TO: recipient2@???
DATA
.
QUIT
This stems from the fact that [cutthrough.nrcpt] is not reset in
[close_cutthrough_connection] and the check on whether to open a cutthrough
connection in [acl_check] is:
...
&& rcpt_count > cutthrough.nrcpt
...
--
You are receiving this mail because:
You are on the CC list for the bug.