diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-12-28 20:09:05 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-12-29 13:33:15 +0000 |
commit | ce93c6d840d56b3cd7b2ced65c4e96820040c8a7 (patch) | |
tree | c04ca2bc77ee5ea20c21d6871c8e74d4cfb73d7f /test/scripts/4500-DKIM | |
parent | cabf3e9902ba212cb85afb63bde7cd88fa027ef4 (diff) |
Fix crash associated with dnsdb lookup done from DKIM ACL. Bug 2215
Broken-by: cc55f4208e
Diffstat (limited to 'test/scripts/4500-DKIM')
-rw-r--r-- | test/scripts/4500-DKIM/4506 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/scripts/4500-DKIM/4506 b/test/scripts/4500-DKIM/4506 index e8d7c41f0..4499315d2 100644 --- a/test/scripts/4500-DKIM/4506 +++ b/test/scripts/4500-DKIM/4506 @@ -167,6 +167,40 @@ This is a simple test. QUIT ??? 221 **** +killdaemon +# +# +# See what happens when we do a DNS lookup from the DKIM ACL +exim -DSERVER=server -DBAD=bad -bd -oX PORT_D +**** +# This should fail verify (missing header hash in sig header) +# - 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=; +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 |