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