diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-01-22 14:05:38 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-01-22 14:05:38 +0000 |
commit | 1137f3a6938882cc81a1fcd7dc15530e8fae9e32 (patch) | |
tree | 059a2be620690455e5f431b8fd01c1dae04be216 /test/scripts | |
parent | adc426215052297d694fcc08786e87a140171e76 (diff) | |
parent | bd8fbe3606d80e5a3fc02fe71b521146c6938448 (diff) |
Merge branch 'fix-2016-dkim'
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/0000-Basic/0901 | 48 | ||||
-rw-r--r-- | test/scripts/4500-DKIM/4500 (renamed from test/scripts/4500-Domain-Keys-Identified-Mail/4500) | 0 | ||||
-rw-r--r-- | test/scripts/4500-DKIM/4501 (renamed from test/scripts/4500-Domain-Keys-Identified-Mail/4501) | 0 | ||||
-rw-r--r-- | test/scripts/4500-DKIM/4502 (renamed from test/scripts/4500-Domain-Keys-Identified-Mail/4502) | 0 | ||||
-rw-r--r-- | test/scripts/4500-DKIM/4503 (renamed from test/scripts/4500-Domain-Keys-Identified-Mail/4503) | 0 | ||||
-rw-r--r-- | test/scripts/4500-DKIM/4509 (renamed from test/scripts/4500-Domain-Keys-Identified-Mail/4509) | 0 | ||||
-rw-r--r-- | test/scripts/4500-DKIM/4510 | 85 | ||||
-rw-r--r-- | test/scripts/4500-DKIM/REQUIRES (renamed from test/scripts/4500-Domain-Keys-Identified-Mail/REQUIRES) | 0 | ||||
-rw-r--r-- | test/scripts/4550-DKIM-Bounces/4550 (renamed from test/scripts/4510-DKIM-Bounces/4510) | 0 | ||||
-rw-r--r-- | test/scripts/4550-DKIM-Bounces/REQUIRES (renamed from test/scripts/4510-DKIM-Bounces/REQUIRES) | 0 |
10 files changed, 132 insertions, 1 deletions
diff --git a/test/scripts/0000-Basic/0901 b/test/scripts/0000-Basic/0901 index a52359966..9908d5ecd 100644 --- a/test/scripts/0000-Basic/0901 +++ b/test/scripts/0000-Basic/0901 @@ -58,8 +58,54 @@ mail from:someone3@some.domain rcpt to:CALLER@test.ex ??? 250 bdat 10 -To: Susan@bdat 78 last +>>> To: Susan@ ??? 250 +bdat 78 last +random.com +From: Sam@random.com +Subject: This is a bodyless test message + +??? 250- +??? 250 +quit +??? 221 +**** +# +# plain, small message (with body) +# nonlast 1st bdat, noop, last-bdat(0) INCORRECTLY PIPELINED +# immediate followon 2nd message +client 127.0.0.1 PORT_D +??? 220 +ehlo tester +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +mail from:someone2A@some.domain +??? 250 +rcpt to:CALLER@test.ex +??? 250 +bdat 100 +To: Susan@random.com +From: Sam@random.com +Subject: This is a bodyfull test message + +1234567890 +??? 250 +noop +??? 250 +bdat 0 last +??? 250- +??? 250 +mail from:someone3A@some.domain +??? 250 +rcpt to:CALLER@test.ex +??? 250 +bdat 10 +>>> To: Susan@ +??? 250 +bdat 78 last random.com From: Sam@random.com Subject: This is a bodyless test message diff --git a/test/scripts/4500-Domain-Keys-Identified-Mail/4500 b/test/scripts/4500-DKIM/4500 index 6728b141d..6728b141d 100644 --- a/test/scripts/4500-Domain-Keys-Identified-Mail/4500 +++ b/test/scripts/4500-DKIM/4500 diff --git a/test/scripts/4500-Domain-Keys-Identified-Mail/4501 b/test/scripts/4500-DKIM/4501 index f2c78fa9f..f2c78fa9f 100644 --- a/test/scripts/4500-Domain-Keys-Identified-Mail/4501 +++ b/test/scripts/4500-DKIM/4501 diff --git a/test/scripts/4500-Domain-Keys-Identified-Mail/4502 b/test/scripts/4500-DKIM/4502 index fb61997c2..fb61997c2 100644 --- a/test/scripts/4500-Domain-Keys-Identified-Mail/4502 +++ b/test/scripts/4500-DKIM/4502 diff --git a/test/scripts/4500-Domain-Keys-Identified-Mail/4503 b/test/scripts/4500-DKIM/4503 index 6efe3545a..6efe3545a 100644 --- a/test/scripts/4500-Domain-Keys-Identified-Mail/4503 +++ b/test/scripts/4500-DKIM/4503 diff --git a/test/scripts/4500-Domain-Keys-Identified-Mail/4509 b/test/scripts/4500-DKIM/4509 index 3447fa10b..3447fa10b 100644 --- a/test/scripts/4500-Domain-Keys-Identified-Mail/4509 +++ b/test/scripts/4500-DKIM/4509 diff --git a/test/scripts/4500-DKIM/4510 b/test/scripts/4500-DKIM/4510 new file mode 100644 index 000000000..938b10e61 --- /dev/null +++ b/test/scripts/4500-DKIM/4510 @@ -0,0 +1,85 @@ +# DKIM signing, with CHUNKING +# +exim -bd -DSERVER=server -oX PORT_S +**** +# +# This should pass. +### sha256, 1024b + message in 1 chunk +# Mail original in aux-fixed/4500.msg2.txt +# Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \ +# --method=simple/simple < aux-fixed/4500.msg2.txt +client 127.0.0.1 PORT_S +??? 220 +EHLO xxx +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +MAIL FROM:<CALLER@bloggs.com> +??? 250 +RCPT TO:<a@test.ex> +??? 250 +BDAT 557 LAST +DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to + :date:message-id:subject; s=sel; bh=ZS4D3qDAC7osugrdWUTQc9HUuaSC + +ScH3/NkwGGOlT0=; b=ncPDYKtCsFuFA7wXHxagsZUh3Rpu0dK6Dl7FbkGykEwU + L/MoAe0D+Aynz+yO0k3d4vGZ6Q2sEJ4MaOZI27ezOSBsBnEhw+0uOaxE6HZew5VD + owfSxfXTkyfJd0CHdtYoXT0OqngTBOtAv87u1T4aLRDY1yAqasVuvLV7V80d4tQ= +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 + +Line 1: This is a simple test. +Line 2: This is a simple test. +??? 250- 557 +??? 250 +QUIT +??? 221 +**** +# +# This should pass. +### sha256, 1024b + message in 2 chunks +# Mail original in aux-fixed/4500.msg2.txt +# Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \ +# --method=simple/simple < aux-fixed/4500.msg2.txt +client 127.0.0.1 PORT_S +??? 220 +EHLO xxx +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +MAIL FROM:<CALLER@bloggs.com> +??? 250 +RCPT TO:<a@test.ex> +??? 250 +BDAT 525 +DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to + :date:message-id:subject; s=sel; bh=ZS4D3qDAC7osugrdWUTQc9HUuaSC + +ScH3/NkwGGOlT0=; b=ncPDYKtCsFuFA7wXHxagsZUh3Rpu0dK6Dl7FbkGykEwU + L/MoAe0D+Aynz+yO0k3d4vGZ6Q2sEJ4MaOZI27ezOSBsBnEhw+0uOaxE6HZew5VD + owfSxfXTkyfJd0CHdtYoXT0OqngTBOtAv87u1T4aLRDY1yAqasVuvLV7V80d4tQ= +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 + +Line 1: This is a simple test. +??? 250 525 +BDAT 32 LAST +Line 2: This is a simple test. +??? 250- 32 +??? 250 +QUIT +??? 221 +**** +millisleep 500 +killdaemon +no_msglog_check diff --git a/test/scripts/4500-Domain-Keys-Identified-Mail/REQUIRES b/test/scripts/4500-DKIM/REQUIRES index ec7e42a24..ec7e42a24 100644 --- a/test/scripts/4500-Domain-Keys-Identified-Mail/REQUIRES +++ b/test/scripts/4500-DKIM/REQUIRES diff --git a/test/scripts/4510-DKIM-Bounces/4510 b/test/scripts/4550-DKIM-Bounces/4550 index aa7f7ddc6..aa7f7ddc6 100644 --- a/test/scripts/4510-DKIM-Bounces/4510 +++ b/test/scripts/4550-DKIM-Bounces/4550 diff --git a/test/scripts/4510-DKIM-Bounces/REQUIRES b/test/scripts/4550-DKIM-Bounces/REQUIRES index a75b81c54..a75b81c54 100644 --- a/test/scripts/4510-DKIM-Bounces/REQUIRES +++ b/test/scripts/4550-DKIM-Bounces/REQUIRES |