Redis cluster DEFER & test results corrected
[exim.git] / test / scripts / 4500-DKIM / 4501
CommitLineData
cd1a5fe0 1# DKIM verify, simple canonicalisation, with spaces
6a11a9e6
JH
2#
3exim -DSERVER=server -bd -oX PORT_D
4****
5#
6# this should pass verification
7# Mail original in aux-fixed/4501.msg1.txt
8# Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4501.msg1.txt
9client 127.0.0.1 PORT_D
10??? 220
11HELO xxx
12??? 250
13MAIL FROM:<pass@bloggs.com>
14??? 250
15RCPT TO:<a@test.ex>
16??? 250
17DATA
18??? 354
19DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
20 :date:message-id:subject; s=sel; bh=pdsXC6mnKSmAYjraebHb2Tt2xqw=; b=
21 bE9pnPdz5eDwz58PFMAsiFqpcsel33p5+pnvhwY5D6B6suGFbvku+LC1pi77z3lq
22 45mFRxT4Dr4rW4612jYi5WpNk8ed28BkNMowUCgkM2TDoktiRClFpXTUX00hCico
23 KWcgcvORf6L8txhtICsHsl94ERKXxgptXHQk8XwMEuU=
24From: mrgus@test.ex
25To: bakawolf@yahoo.com
26Date: Thu, 19 Nov 2015 17:00:07 -0700
27Message-ID: <qwerty1234@disco-zombie.net>
28Subject: simple space test
29
30This is a test of simple with spaces.
31
32
33
34End of content (spaced line two lines down).
35.
36??? 250
37QUIT
38??? 221
39****
40#
41# this should fail verification
42# Same message and sig as above, but body extended with (emptyline) (line with only spaces) (emptyline)
43client 127.0.0.1 PORT_D
44??? 220
45HELO xxx
46??? 250
47MAIL FROM:<fail@bloggs.com>
48??? 250
49RCPT TO:<a@test.ex>
50??? 250
51DATA
52??? 354
53DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
54 :date:message-id:subject; s=sel; bh=pdsXC6mnKSmAYjraebHb2Tt2xqw=; b=
55 bE9pnPdz5eDwz58PFMAsiFqpcsel33p5+pnvhwY5D6B6suGFbvku+LC1pi77z3lq
56 45mFRxT4Dr4rW4612jYi5WpNk8ed28BkNMowUCgkM2TDoktiRClFpXTUX00hCico
57 KWcgcvORf6L8txhtICsHsl94ERKXxgptXHQk8XwMEuU=
58From: mrgus@test.ex
59To: bakawolf@yahoo.com
60Date: Thu, 19 Nov 2015 17:00:07 -0700
61Message-ID: <qwerty1234@disco-zombie.net>
62Subject: simple space test
63
64This is a test of simple with spaces.
65
66
67
68End of content (spaced line two lines down).
69
70
71
72.
73??? 250
74QUIT
75??? 221
76****
77#
78killdaemon
79no_stdout_check
80no_msglog_check