DKIM: better syntax for control of oversigning. Bug 2180
[exim.git] / test / scripts / 4500-DKIM / 4520
index 6efe3545aa7a614a6ac1b29a35e7620c81a58948..1bc4c603038ffbf25d16965a3426c485f7675704 100644 (file)
@@ -15,6 +15,39 @@ content
 exim -DOPT=From:From -odf b@test.ex
 From: nobody@example.com
 
+content
+****
+#
+# no header, multi-sign
+exim -DOPT=From:=X-Mine -odf b10@test.ex
+From: nobody@example.com
+
+content
+****
+#
+# double header, multi-sign
+exim -DOPT=From:=X-Mine -odf b12@test.ex
+From: nobody@example.com
+X-mine: one
+X-mine: two
+
+content
+****
+#
+#
+# no header, always-oversign
+exim -DOPT=+X-Mine -odf b20@test.ex
+From: nobody@example.com
+
+content
+****
+#
+# double header, always-oversign
+exim -DOPT=+X-Mine -odf b22@test.ex
+From: nobody@example.com
+X-mine: one
+X-mine: two
+
 content
 ****
 #
@@ -26,7 +59,7 @@ content
 ****
 #
 # check that on signing we warn in debug mode about verify problems
-exim -d-all+acl -DHEADERS_MAXSIZE=y -DSELECTOR=sel_bad -odf d@test.ex
+exim -d-all+acl -DOPT=From -DSELECTOR=sel_bad -odf d@test.ex
 From: nobody@example.com
 
 content