Docs: add note for experimental LIMITS extension
[exim.git] / test / scripts / 4520-TLS-DKIM / 4528
1 # DKIM verify, dkim_verify_signers option
2 #
3 exim -DSERVER=server -DDYNAMIC_OPTION='$dkim_signers' -bd -oX PORT_D
4 ****
5 #
6 # Same as default. This should pass.
7 #  - sha256, 1024b
8 # Mail original in aux-fixed/4500.msg1.txt
9 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
10 #                       --method=simple/simple < aux-fixed/4500.msg1.txt
11 client-anytls 127.0.0.1 PORT_D
12 ??? 220
13 EHLO test
14 ??? 250-myhost
15 ??? 250-SIZE
16 ??? 250-8BITMIME
17 ??? 250-PIPELINING
18 ??? 250-STARTTLS
19 ??? 250 HELP
20 STARTTLS
21 ??? 220
22 HELO xxx
23 ??? 250
24 MAIL FROM:<CALLER@bloggs.com>
25 ??? 250
26 RCPT TO:<a@test.ex>
27 ??? 250
28 DATA
29 ??? 354
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=3UbbJTudPxmejzh7U1Zg33U3QT+1
32         6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
33         Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
34         +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
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 This is a simple test.
42 .
43 ??? 250
44 QUIT
45 ??? 221
46 ****
47 killdaemon
48 #
49 exim -DSERVER=server -DDYNAMIC_OPTION='' -bd -oX PORT_D
50 ****
51 # Empty.  Should avoid calling dkim ACL.
52 #  - sha256, 1024b
53 # Mail original in aux-fixed/4500.msg1.txt
54 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
55 #                       --method=simple/simple < aux-fixed/4500.msg1.txt
56 client-anytls 127.0.0.1 PORT_D
57 ??? 220
58 EHLO test
59 ??? 250-myhost
60 ??? 250-SIZE
61 ??? 250-8BITMIME
62 ??? 250-PIPELINING
63 ??? 250-STARTTLS
64 ??? 250 HELP
65 STARTTLS
66 ??? 220
67 HELO xxx
68 ??? 250
69 MAIL FROM:<CALLER@bloggs.com>
70 ??? 250
71 RCPT TO:<a@test.ex>
72 ??? 250
73 DATA
74 ??? 354
75 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
76         :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
77         6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
78         Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
79         +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
80 From: mrgus@text.ex
81 To: bakawolf@yahoo.com
82 Date: Thu, 19 Nov 2015 17:00:07 -0700
83 Message-ID: <qwerty1234@disco-zombie.net>
84 Subject: simple test
85
86 This is a simple test.
87 .
88 ??? 250
89 QUIT
90 ??? 221
91 ****
92 killdaemon
93 #
94 exim -DSERVER=server -DDYNAMIC_OPTION='nothere.example.com' -bd -oX PORT_D
95 ****
96 # Different domain.  Should fail DKIM verify.
97 #  - sha256, 1024b
98 # Mail original in aux-fixed/4500.msg1.txt
99 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
100 #                       --method=simple/simple < aux-fixed/4500.msg1.txt
101 client-anytls 127.0.0.1 PORT_D
102 ??? 220
103 EHLO test
104 ??? 250-myhost
105 ??? 250-SIZE
106 ??? 250-8BITMIME
107 ??? 250-PIPELINING
108 ??? 250-STARTTLS
109 ??? 250 HELP
110 STARTTLS
111 ??? 220
112 HELO xxx
113 ??? 250
114 MAIL FROM:<CALLER@bloggs.com>
115 ??? 250
116 RCPT TO:<a@test.ex>
117 ??? 250
118 DATA
119 ??? 354
120 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
121         :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
122         6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
123         Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
124         +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
125 From: mrgus@text.ex
126 To: bakawolf@yahoo.com
127 Date: Thu, 19 Nov 2015 17:00:07 -0700
128 Message-ID: <qwerty1234@disco-zombie.net>
129 Subject: simple test
130
131 This is a simple test.
132 .
133 ??? 250
134 QUIT
135 ??? 221
136 ****
137 killdaemon
138 #
139 exim -DSERVER=server -DDYNAMIC_OPTION='test.ex : different.example.com' -bd -oX PORT_D
140 ****
141 # Mixed set.  Should get one DKIM verify pass.
142 #  - sha256, 1024b
143 # Mail original in aux-fixed/4500.msg1.txt
144 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
145 #                       --method=simple/simple < aux-fixed/4500.msg1.txt
146 client-anytls 127.0.0.1 PORT_D
147 ??? 220
148 EHLO test
149 ??? 250-myhost
150 ??? 250-SIZE
151 ??? 250-8BITMIME
152 ??? 250-PIPELINING
153 ??? 250-STARTTLS
154 ??? 250 HELP
155 STARTTLS
156 ??? 220
157 HELO xxx
158 ??? 250
159 MAIL FROM:<CALLER@bloggs.com>
160 ??? 250
161 RCPT TO:<a@test.ex>
162 ??? 250
163 DATA
164 ??? 354
165 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
166         :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
167         6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
168         Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
169         +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
170 From: mrgus@text.ex
171 To: bakawolf@yahoo.com
172 Date: Thu, 19 Nov 2015 17:00:07 -0700
173 Message-ID: <qwerty1234@disco-zombie.net>
174 Subject: simple test
175
176 This is a simple test.
177 .
178 ??? 250
179 QUIT
180 ??? 221
181 ****
182 killdaemon
183 #
184 no_stdout_check
185 no_msglog_check