DKIM: $dkim_key_length visibility variable. Bug 1311
[users/heiko/exim.git] / test / scripts / 4500-Domain-Keys-Identified-Mail / 4500
1 # DKIM simple canonicalisation
2 #
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 # This should pass.
7 # Mail original in aux-fixed/4500.msg1.txt
8 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
9 client 127.0.0.1 PORT_D
10 ??? 220
11 HELO xxx
12 ??? 250
13 MAIL FROM:<CALLER@bloggs.com>
14 ??? 250
15 RCPT TO:<a@test.ex>
16 ??? 250
17 DATA
18 ??? 354
19 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
20         :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
21         PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
22         41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
23         1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
24 From: mrgus@text.ex
25 To: bakawolf@yahoo.com
26 Date: Thu, 19 Nov 2015 17:00:07 -0700
27 Message-ID: <qwerty1234@disco-zombie.net>
28 Subject: simple test
29
30 This is a simple test.
31 .
32 ??? 250
33 QUIT
34 ??? 221
35 ****
36 #
37 # This should pass.
38 # Mail original in aux-fixed/4500.msg1.txt
39 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple --selector=ses \
40 #                       --keyfile=aux-fixed/dkim/dkim512.private < aux-fixed/4500.msg1.txt
41 client 127.0.0.1 PORT_D
42 ??? 220
43 HELO xxx
44 ??? 250
45 MAIL FROM:<CALLER@bloggs.com>
46 ??? 250
47 RCPT TO:<a@test.ex>
48 ??? 250
49 DATA
50 ??? 354
51 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
52         :date:message-id:subject; s=ses; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
53         cIErF1eueIT9AU4qG54FyT3yrlVDDM7RZnuU6fWTevZpAuMqhYcRO8tU3U4vtKWB
54         +I2vd+F1gzqCzBcRtfLhZg==
55 From: mrgus@text.ex
56 To: bakawolf@yahoo.com
57 Date: Thu, 19 Nov 2015 17:00:07 -0700
58 Message-ID: <qwerty1234@disco-zombie.net>
59 Subject: simple test
60
61 This is a simple test.
62 .
63 ??? 250
64 QUIT
65 ??? 221
66 ****
67 #
68 #
69 killdaemon
70 no_stdout_check
71 no_msglog_check