diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-03-26 18:44:33 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-04-04 00:21:53 +0100 |
commit | d7e9db66df01a2ca6ea06e1d99c39f09c6eff93a (patch) | |
tree | bd6ba1e37abd03bf1ab9cc3da869bc26f1dca45a | |
parent | 0ed25f66ccc56d56b3b5b7d64f4537bafbb42697 (diff) |
Fix non-ARC build
-rw-r--r-- | src/src/verify.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/src/verify.c b/src/src/verify.c index 1555838ac..ffa6a14f9 100644 --- a/src/src/verify.c +++ b/src/src/verify.c @@ -1033,11 +1033,20 @@ no_conn: cutthrough.delivery= FALSE; HDEBUG(D_acl|D_v) debug_printf("Cutthrough cancelled by presence of transport filter\n"); } - if (ob->dkim.dkim_domain || ob->arc_sign) +#ifndef DISABLE_DKIM + if (ob->dkim.dkim_domain) { cutthrough.delivery= FALSE; - HDEBUG(D_acl|D_v) debug_printf("Cutthrough cancelled by presence of DKIM or ARC signing\n"); + HDEBUG(D_acl|D_v) debug_printf("Cutthrough cancelled by presence of DKIM signing\n"); } +#endif +#ifdef EXPERIMENTAL_ARC + if (ob->arc_sign) + { + cutthrough.delivery= FALSE; + HDEBUG(D_acl|D_v) debug_printf("Cutthrough cancelled by presence of ARC signing\n"); + } +#endif } if ( (cutthrough.delivery || options & vopt_callout_hold) |