summaryrefslogtreecommitdiff
path: root/test/scripts/4500-DKIM
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-11-05 21:13:41 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-11-05 21:26:38 +0000
commit179ed8c31eb8c7f767ec0ef5e2856066d366515f (patch)
tree05d89e3eb69b20ac9cd80599f7314941fd21c030 /test/scripts/4500-DKIM
parent6ce1ece9cb2b13fdc4d235146fa98835811570bd (diff)
downloadexim4-179ed8c31eb8c7f767ec0ef5e2856066d366515f.tar.gz
DKIM/CHUNKING: support CHUNKING when a transport_filter is used, if DKIM signing is being done
Diffstat (limited to 'test/scripts/4500-DKIM')
-rw-r--r--test/scripts/4500-DKIM/452554
1 files changed, 54 insertions, 0 deletions
diff --git a/test/scripts/4500-DKIM/4525 b/test/scripts/4500-DKIM/4525
new file mode 100644
index 000000000..dced4ae46
--- /dev/null
+++ b/test/scripts/4500-DKIM/4525
@@ -0,0 +1,54 @@
+# DKIM signing, with transport_filter
+#
+exim -bd -DSERVER=server -oX PORT_D
+****
+#
+# baseline (no transport_filter)
+exim -DOPT=From -odf a@test.ex
+From: nobody@example.com
+
+content
+****
+millisleep 500
+#
+#
+# with transport_filter
+exim -DOPT=From -DFILTER=y -odf b@test.ex
+From: nobody@example.com
+
+content
+****
+millisleep 500
+# with transport_filter and CHUNKING
+exim -DOPT=From -DFILTER=y -DALLOW=y -odf c@test.ex
+From: nobody@example.com
+
+content
+****
+millisleep 500
+#
+# for comparison, mails that should get identical sigs, though not using a transport_filter
+exim -DOPT=From -odf b@test.ex
+From: nobody@example.com
+
+content
+
+--
+This is a generic mailinglist footer, using a traditional .sig-separator line
+----
+****
+millisleep 500
+exim -DOPT=From -DALLOW=y -odf c@test.ex
+From: nobody@example.com
+
+content
+
+--
+This is a generic mailinglist footer, using a traditional .sig-separator line
+----
+****
+millisleep 500
+#
+#
+killdaemon
+no_msglog_check