diff options
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/4500-DKIM/4509 | 41 | ||||
-rw-r--r-- | test/scripts/4540-DKIM-Ed25519/4541 | 30 |
2 files changed, 71 insertions, 0 deletions
diff --git a/test/scripts/4500-DKIM/4509 b/test/scripts/4500-DKIM/4509 new file mode 100644 index 000000000..c450d65ca --- /dev/null +++ b/test/scripts/4500-DKIM/4509 @@ -0,0 +1,41 @@ +# DKIM verify, dkim_verify_hashes option +# +exim -DSERVER=server -bd -oX PORT_D +**** +# +# This should not ve verified, as the config ignores the sha1 sig +# - 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 +client 127.0.0.1 PORT_D +??? 220 +HELO xxx +??? 250 +MAIL FROM:<CALLER@bloggs.com> +??? 250 +RCPT TO:<a@test.ex> +??? 250 +DATA +??? 354 +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. +. +??? 250 +QUIT +??? 221 +**** +# +killdaemon +# +no_stdout_check +no_msglog_check diff --git a/test/scripts/4540-DKIM-Ed25519/4541 b/test/scripts/4540-DKIM-Ed25519/4541 new file mode 100644 index 000000000..cec41df0f --- /dev/null +++ b/test/scripts/4540-DKIM-Ed25519/4541 @@ -0,0 +1,30 @@ +# DKIM verify, multiple and dkim_verify_minimal +# This relies on multiple-signing working (4545 tests that) +# +# Verify both +exim -bd -DSERVER=server -oX PORT_D +**** +# +exim -DSELECTOR=sel:sed -DOPT=From: -odf a@test.ex +From: nobody@example.com + +content +**** +# +millisleep 500 +killdaemon +# +# +# Verify only EC sig +exim -bd -DSERVER=server -DFILTER=y -oX PORT_D +**** +# +exim -DSELECTOR=sel:sed -DOPT=From: -odf b@test.ex +From: nobody@example.com + +content +**** +# +millisleep 500 +killdaemon +no_msglog_check |