X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/98c82a3de2d8582aae76e91c4a8d4bcf3e7c55f0..59932f7dcdc2b0906e1f4119513c6c36e99ee8c6:/src/src/verify.c diff --git a/src/src/verify.c b/src/src/verify.c index a73004028..7e0f066f9 100644 --- a/src/src/verify.c +++ b/src/src/verify.c @@ -889,13 +889,16 @@ can do it there for the non-rcpt-verify case. For this we keep an addresscount. /* Need proper integration with the proper transport mechanism. */ if (cutthrough.delivery) { +#ifndef DISABLE_DKIM + uschar * s; +#endif if (addr->transport->filter_command) { cutthrough.delivery = FALSE; HDEBUG(D_acl|D_v) debug_printf("Cutthrough cancelled by presence of transport filter\n"); } #ifndef DISABLE_DKIM - if (ob->dkim_domain) + else if ((s = ob->dkim.dkim_domain) && (s = expand_string(s)) && *s) { cutthrough.delivery = FALSE; HDEBUG(D_acl|D_v) debug_printf("Cutthrough cancelled by presence of DKIM signing\n"); @@ -1556,9 +1559,9 @@ return cutthrough_response('3', NULL) == '3'; } -/* fd and use_crlf args only to match write_chunk() */ +/* fd and options args only to match write_chunk() */ static BOOL -cutthrough_write_chunk(int fd, uschar * s, int len, BOOL use_crlf) +cutthrough_write_chunk(int fd, uschar * s, int len, unsigned options) { uschar * s2; while(s && (s2 = Ustrchr(s, '\n'))) @@ -1588,7 +1591,7 @@ HDEBUG(D_acl) debug_printf("----------- start cutthrough headers send ---------- if (!transport_headers_send(&cutthrough.addr, cutthrough.fd, cutthrough.addr.transport->add_headers, cutthrough.addr.transport->remove_headers, - &cutthrough_write_chunk, TRUE, + &cutthrough_write_chunk, topt_use_crlf, cutthrough.addr.transport->rewrite_rules, cutthrough.addr.transport->rewrite_existflags)) return FALSE;