diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2021-08-30 23:31:40 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2021-08-30 23:31:40 +0200 |
commit | a29e3f549558cea293296380917cea145d2c62a2 (patch) | |
tree | 66dbe37f912f17fc59c658b2a6f9200eaefec6e7 /test/scripts/4500-DKIM/4519 | |
parent | a013e982148dd502244e5929aac6b49acd586b79 (diff) | |
parent | 44a62f58613f26f5cba82e9fa1e3d6f83124c550 (diff) | |
download | exim4-exim-4.94.2+taintwarn.tar.gz |
Merge branch 'exim-4.94.2+fixes' into exim-4.94.2+taintwarnexim-4.94.2+taintwarn
Diffstat (limited to 'test/scripts/4500-DKIM/4519')
-rw-r--r-- | test/scripts/4500-DKIM/4519 | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/test/scripts/4500-DKIM/4519 b/test/scripts/4500-DKIM/4519 new file mode 100644 index 000000000..fb98e5564 --- /dev/null +++ b/test/scripts/4500-DKIM/4519 @@ -0,0 +1,68 @@ +# DKIM, CHUNKING, wireformat-spoolfile +# +exim -bd -DSERVER=server -DOPT=dkim -DLIST=Subject -oX PORT_S:PORT_D +**** +# +# 1: non-CHUNKING injection; will not be stored as wireformat therefore +# onward-send will not use sendfile. Should still be signed, and verify correctly. +client 127.0.0.1 PORT_S +??? 220 +EHLO xxx +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +MAIL FROM:<CALLER@bloggs.com> +??? 250 +RCPT TO:<z@test.ex> +??? 250 +DATA +??? 354 +Subject: simple test + +Line 1: This is a simple test. +Line 2: This is a simple test. +..Line 3 has a leading dot +last line: 4 +. +??? 250 +QUIT +??? 221 +**** +sleep 1 +# +# 2: CHUNKING injection; should be stored as wireformat therefore +# onward-send should not use sendfile. Should still be signed, and verify correctly. +client 127.0.0.1 PORT_S +??? 220 +EHLO xxx +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +MAIL FROM:<CALLER@bloggs.com> +??? 250 +RCPT TO:<y@test.ex> +??? 250 +BDAT 129 LAST +Subject: simple test + +Line 1: This is a simple test. +Line 2: This is a simple test. +.Line 3 has a leading dot +last line: 4 +??? 250- +??? 250 +QUIT +??? 221 +**** +sleep 1 +# +killdaemon +exim -q +**** +no_msglog_check |