tidying
[exim.git] / test / scripts / 4520-TLS-DKIM / 4532
1 # DKIM signing, with CHUNKING, smtp/tcp
2 #
3 exim -bd -DSERVER=server -DSRV=tls -oX PORT_S
4 ****
5 #
6 # This should pass.
7 ### sha256, 1024b + message in 1 chunk
8 # Mail original in aux-fixed/4500.msg2.txt
9 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
10 #                       --method=simple/simple < aux-fixed/4500.msg2.txt
11 client-anytls 127.0.0.1 PORT_S
12 ??? 220
13 EHLO xxx
14 ??? 250-
15 ??? 250-
16 ??? 250-
17 ??? 250-
18 ??? 250-
19 ??? 250-
20 ??? 250
21 STARTTLS
22 ??? 220
23 HELO xxx
24 ??? 250
25 MAIL FROM:<CALLER@bloggs.com>
26 ??? 250
27 RCPT TO:<a@test.ex>
28 ??? 250
29 BDAT 557 LAST
30 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
31         :date:message-id:subject; s=sel; bh=ZS4D3qDAC7osugrdWUTQc9HUuaSC
32         +ScH3/NkwGGOlT0=; b=ncPDYKtCsFuFA7wXHxagsZUh3Rpu0dK6Dl7FbkGykEwU
33         L/MoAe0D+Aynz+yO0k3d4vGZ6Q2sEJ4MaOZI27ezOSBsBnEhw+0uOaxE6HZew5VD
34         owfSxfXTkyfJd0CHdtYoXT0OqngTBOtAv87u1T4aLRDY1yAqasVuvLV7V80d4tQ=
35 From: mrgus@text.ex
36 To: bakawolf@yahoo.com
37 Date: Thu, 19 Nov 2015 17:00:07 -0700
38 Message-ID: <qwerty1234@disco-zombie.net>
39 Subject: simple test
40
41 Line 1: This is a simple test.
42 Line 2: This is a simple test.
43 ??? 250- 557
44 ??? 250
45 QUIT
46 ??? 221
47 ****
48 #
49 # This should pass.
50 ### sha256, 1024b + message in 2 chunks
51 # Mail original in aux-fixed/4500.msg2.txt
52 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
53 #                       --method=simple/simple < aux-fixed/4500.msg2.txt
54 client-anytls 127.0.0.1 PORT_S
55 ??? 220
56 EHLO xxx
57 ??? 250-
58 ??? 250-
59 ??? 250-
60 ??? 250-
61 ??? 250-
62 ??? 250-
63 ??? 250
64 STARTTLS
65 ??? 220
66 HELO xxx
67 ??? 250
68 MAIL FROM:<CALLER@bloggs.com>
69 ??? 250
70 RCPT TO:<a@test.ex>
71 ??? 250
72 BDAT 525
73 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
74         :date:message-id:subject; s=sel; bh=ZS4D3qDAC7osugrdWUTQc9HUuaSC
75         +ScH3/NkwGGOlT0=; b=ncPDYKtCsFuFA7wXHxagsZUh3Rpu0dK6Dl7FbkGykEwU
76         L/MoAe0D+Aynz+yO0k3d4vGZ6Q2sEJ4MaOZI27ezOSBsBnEhw+0uOaxE6HZew5VD
77         owfSxfXTkyfJd0CHdtYoXT0OqngTBOtAv87u1T4aLRDY1yAqasVuvLV7V80d4tQ=
78 From: mrgus@text.ex
79 To: bakawolf@yahoo.com
80 Date: Thu, 19 Nov 2015 17:00:07 -0700
81 Message-ID: <qwerty1234@disco-zombie.net>
82 Subject: simple test
83
84 Line 1: This is a simple test.
85 ??? 250 525
86 BDAT 32 LAST
87 Line 2: This is a simple test.
88 ??? 250- 32
89 ??? 250
90 QUIT
91 ??? 221
92 ****
93 millisleep 500
94 killdaemon
95 no_msglog_check