https://bugs.exim.org/show_bug.cgi?id=2912
Bug ID: 2912
Summary: cutthrough delivery gets canceled on unexpected (non
2xx) SMTP response
Product: Exim
Version: 4.96
Hardware: x86
OS: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Delivery in general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
function cutthrough_response() (in src/verify.c) gets called with an expect
character '2'. It passes this on to smtp_read_response() . If FALSE is
returned, it does cancel_cutthrough_connection(TRUE, US"target timeout on
read") , even if there is no timeout, but just an unexpected return code.
IMHO in this case cutthrough should not get canceled, but the responsebuffer
returned to the caller -- so cancel only if(errno != 0).
Documentation in smtp_read_response() even states that the caller should look
at errno to distinguish those cases...
--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim
details at http://www.exim.org/ ##