summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-11-05 21:23:15 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-11-05 21:23:15 +0000
commitc895de68398ece932fb371f527e24ce233f6ac7b (patch)
treee3fb9d1ae7e9fb5858e1a3533484eb381f4798c3 /test/scripts
parentb09c5f34a0b1e9dec95e0f4955735e752293b223 (diff)
Testsuite: DKIM/transport_filter testcase
Diffstat (limited to 'test/scripts')
-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..ead35d647
--- /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