summaryrefslogtreecommitdiff
path: root/test/scripts/4500-DKIM
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-01-21 18:54:56 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-01-21 20:11:58 +0000
commitb895f4b20b25f81cd6f94be75881d3328df03892 (patch)
tree70a9af4b5c590d69e1fd3efce1f17288e0284db6 /test/scripts/4500-DKIM
parent28fb7042c4d99225f3968d6555faef598db2e9d0 (diff)
Fix DKIM verify operation in -bh test mode. Bug 2017
Diffstat (limited to 'test/scripts/4500-DKIM')
-rw-r--r--test/scripts/4500-DKIM/450730
1 files changed, 30 insertions, 0 deletions
diff --git a/test/scripts/4500-DKIM/4507 b/test/scripts/4500-DKIM/4507
new file mode 100644
index 000000000..6a4121fe1
--- /dev/null
+++ b/test/scripts/4500-DKIM/4507
@@ -0,0 +1,30 @@
+# DKIM verify, -bh test mode
+#
+#
+# This should pass.
+# - sha1, 1024b
+# Mail original in aux-fixed/4500.msg1.txt
+# Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
+exim -DSERVER=server -DNOTDAEMON -bh 127.0.0.1
+HELO xxx
+MAIL FROM:<CALLER@bloggs.com>
+RCPT TO:<a@test.ex>
+DATA
+DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
+ :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
+ PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
+ 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
+ 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
+From: mrgus@text.ex
+To: bakawolf@yahoo.com
+Date: Thu, 19 Nov 2015 17:00:07 -0700
+Message-ID: <qwerty1234@disco-zombie.net>
+Subject: simple test
+
+This is a simple test.
+.
+QUIT
+****
+#
+no_stdout_check
+no_msglog_check