summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorRuben Jenster <r.jenster@drachenfels.de>2019-07-19 12:56:56 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-07-25 12:21:22 +0100
commit9fa4d5b45f70b36a46c0d04381a5e05cb39ae3e9 (patch)
tree49f8890f4cd58ccf34180f4125486c65d560a062 /test/scripts
parentf3ebb786e451da973560f1c9d8cdb151d25108b5 (diff)
Fix dkim_strict expansion. Bug 2413
Broken since the introduction of dkim support. Testsuite additions by jgh
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/4500-DKIM/45207
1 files changed, 7 insertions, 0 deletions
diff --git a/test/scripts/4500-DKIM/4520 b/test/scripts/4500-DKIM/4520
index 8f962a001..f073be9d3 100644
--- a/test/scripts/4500-DKIM/4520
+++ b/test/scripts/4500-DKIM/4520
@@ -66,6 +66,13 @@ From: nobody@example.com
content
****
#
+# check dkim_strict results in a defer (even with an expansion)
+exim -DOPT=From '-DSTRICT=${if ={1}{1}{true}}' '-DTIMES=${bogus}' -odf '-f<>' e0@test.ex
+From: nobody@example.com
+
+content
+****
+#
# check that an empty dkim_privatekey overrides dkim_strict
exim -DOPT=From -DSTRICT=true -DSELECTOR=none -odf e@test.ex
From: nobody@example.com