X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/5899e332cfbf8e85f23256203ab0b802b47a22d1..e983e85a314998aed1d586990969fea128a8b4c7:/src/src/receive.c diff --git a/src/src/receive.c b/src/src/receive.c index 6a8ce8841..3351ab1c5 100644 --- a/src/src/receive.c +++ b/src/src/receive.c @@ -1615,8 +1615,10 @@ message_linecount = body_linecount = body_zerocount = max_received_linelength = 0; #ifndef DISABLE_DKIM -/* Call into DKIM to set up the context. */ -if (smtp_input && !smtp_batched_input && !dkim_disable_verify) dkim_exim_verify_init(); +/* Call into DKIM to set up the context. In CHUNKING mode +we clear the dot-stuffing flag */ +if (smtp_input && !smtp_batched_input && !dkim_disable_verify) + dkim_exim_verify_init(chunking_state <= CHUNKING_OFFERED); #endif #ifdef EXPERIMENTAL_DMARC