summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-10-19 22:25:27 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-10-19 22:25:27 +0100
commitc5040dfdb523ce2a14efbdfa0d3eb69d3afef65a (patch)
tree2b8d705fbefeaf5a02e30212a962f5594389f247 /src
parentd48326c00b228279a957da7f58b48a55f4b7823b (diff)
CHUNKING: fix all-RCPTs-rejected, non-pipelined. Bug 2454
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index fe28d8606..bf8191568 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -3642,7 +3642,8 @@ for handling the SMTP dot-handling protocol, flagging to apply to headers as
well as body. Set the appropriate timeout value to be used for each chunk.
(Haven't been able to make it work using select() for writing yet.) */
-if (!(sx.peer_offered & OPTION_CHUNKING) && !sx.ok)
+if ( !sx.ok
+ && (!(sx.peer_offered & OPTION_CHUNKING) || !pipelining_active))
{
/* Save the first address of the next batch. */
sx.first_addr = sx.next_addr;