summaryrefslogtreecommitdiff
path: root/test/scripts/4500-DKIM/4520
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/4500-DKIM/4520')
-rw-r--r--test/scripts/4500-DKIM/452037
1 files changed, 37 insertions, 0 deletions
diff --git a/test/scripts/4500-DKIM/4520 b/test/scripts/4500-DKIM/4520
new file mode 100644
index 000000000..6efe3545a
--- /dev/null
+++ b/test/scripts/4500-DKIM/4520
@@ -0,0 +1,37 @@
+# DKIM signing
+#
+exim -bd -DSERVER=server -oX PORT_D
+****
+#
+# single header signed
+exim -DOPT=From -odf a@test.ex
+From: nobody@example.com
+From: second@example.com
+
+content
+****
+#
+# single header, oversigned
+exim -DOPT=From:From -odf b@test.ex
+From: nobody@example.com
+
+content
+****
+#
+# default header set
+exim -DHEADERS_MAXSIZE=y -odf c@test.ex
+From: nobody@example.com
+
+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
+From: nobody@example.com
+
+content
+****
+#
+millisleep 500
+killdaemon
+no_msglog_check