summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-07-10 14:20:03 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-07-10 14:20:03 +0100
commitae8386f03e54cc05f92fcb78b8edcf87184f29aa (patch)
tree6378fed07ec8d351d34097a33149de0e793208bb /src
parent98c82a3de2d8582aae76e91c4a8d4bcf3e7c55f0 (diff)
Cutthrough: expand transport dkim_domain option when testing for dkim signing
Diffstat (limited to 'src')
-rw-r--r--src/src/verify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/verify.c b/src/src/verify.c
index a73004028..3624af0bc 100644
--- a/src/src/verify.c
+++ b/src/src/verify.c
@@ -889,13 +889,14 @@ 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)
{
+ uschar * s;
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_domain) && (s = expand_string(s)) && *s)
{
cutthrough.delivery = FALSE;
HDEBUG(D_acl|D_v) debug_printf("Cutthrough cancelled by presence of DKIM signing\n");