Fix dkim_strict expansion. Bug 2413
[exim.git] / test / scripts / 4500-DKIM / 4520
index 8f962a001cebd1be91fcc7a235f72d841ccdc45b..f073be9d368638dd04df51901c427d35bfde9003 100644 (file)
@@ -63,6 +63,13 @@ content
 exim -d-all+acl -DOPT=From -DSELECTOR=sel_bad -odf d@test.ex
 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
 ****
 #