X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/b3b370766107a2bda78f6362170ddbe4b2c0bb21..6372d4c990f39ba6ad84a91af0a3a61a63bd50a3:/src/src/transport.c diff --git a/src/src/transport.c b/src/src/transport.c index 073c4ad65..a2da32159 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -263,7 +263,8 @@ for (i = 0; i < 100; i++) tls_out.active == fd ? tls_write(FALSE, block, len, more) : #endif #ifdef MSG_MORE - more ? send(fd, block, len, MSG_MORE) : + more && !(tctx->options & topt_not_socket) + ? send(fd, block, len, MSG_MORE) : #endif write(fd, block, len); @@ -1131,9 +1132,10 @@ if (!(tctx->options & topt_no_body)) if (len != 0) return FALSE; } -/* Finished with the check string */ +/* Finished with the check string, and spool-format consideration */ nl_check_length = nl_escape_length = 0; +spool_file_wireformat = FALSE; /* If requested, add a terminating "." line (SMTP output). */ @@ -1400,6 +1402,7 @@ filter was not NL, insert a NL to make the SMTP protocol work. */ if (yield) { nl_check_length = nl_escape_length = 0; + spool_file_wireformat = FALSE; if ( tctx->options & topt_end_dot && ( last_filter_was_NL ? !write_chunk(tctx, US".\n", 2)