Testsuite: client script faciility for handling optional reponses
[exim.git] / test / stdout / 2114
1 ### No certificate, certificate required
2 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
3 ??? 220
4 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
5 >>> ehlo rhu.barb
6 ??? 250-
7 <<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
8 ??? 250-
9 <<< 250-SIZE 52428800
10 ??? 250-
11 <<< 250-8BITMIME
12 ??? 250-
13 <<< 250-PIPELINING
14 ??? 250-
15 <<< 250-STARTTLS
16 ??? 250
17 <<< 250 HELP
18 >>> starttls
19 ??? 220
20 <<< 220 TLS go ahead
21 Attempting to start TLS
22 pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:[...]:SSL alert number 40
23 Failed to start TLS
24 >>> noop
25 ??? 554 Security failure
26 <<< 554 Security failure
27 >>> quit
28 ????554 Security failure
29 ??? 221
30 <<< 221 myhost.test.ex closing connection
31 ???*
32 Expected EOF read
33 End of script
34 ### No certificate, certificate optional at TLS time, required by ACL
35 Connecting to 127.0.0.1 port 1225 ... connected
36 ??? 220
37 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
38 >>> ehlo rhu.barb
39 ??? 250-
40 <<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
41 ??? 250-
42 <<< 250-SIZE 52428800
43 ??? 250-
44 <<< 250-8BITMIME
45 ??? 250-
46 <<< 250-PIPELINING
47 ??? 250-
48 <<< 250-STARTTLS
49 ??? 250
50 <<< 250 HELP
51 >>> starttls
52 ??? 220
53 <<< 220 TLS go ahead
54 Attempting to start TLS
55 SSL connection using ke-RSA-AES256-SHA
56 Succeeded in starting TLS
57 >>> helo rhu.barb
58 ??? 250
59 <<< 250 myhost.test.ex Hello rhu.barb [127.0.0.1]
60 >>> mail from:<userx@test.ex>
61 ??? 250
62 <<< 250 OK
63 >>> rcpt to:<userx@test.ex>
64 ??? 550
65 <<< 550 certificate not verified: peerdn=
66 >>> quit
67 ??? 221
68 <<< 221 myhost.test.ex closing connection
69 End of script
70 ### Good certificate, certificate required
71 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
72 Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
73 Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
74 ??? 220
75 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
76 >>> ehlo rhu.barb
77 ??? 250-
78 <<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
79 ??? 250-
80 <<< 250-SIZE 52428800
81 ??? 250-
82 <<< 250-8BITMIME
83 ??? 250-
84 <<< 250-PIPELINING
85 ??? 250-
86 <<< 250-STARTTLS
87 ??? 250
88 <<< 250 HELP
89 >>> starttls
90 ??? 220
91 <<< 220 TLS go ahead
92 Attempting to start TLS
93 SSL connection using ke-RSA-AES256-SHA
94 Succeeded in starting TLS
95 >>> mail from:<userx@test.ex>
96 ??? 250
97 <<< 250 OK
98 >>> rcpt to:<userx@test.ex>
99 ??? 250
100 <<< 250 Accepted
101 >>> quit
102 ??? 221
103 <<< 221 myhost.test.ex closing connection
104 End of script
105 ### Good certificate, certificate optional at TLS time, checked by ACL
106 Connecting to 127.0.0.1 port 1225 ... connected
107 Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
108 Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
109 ??? 220
110 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
111 >>> ehlo rhu.barb
112 ??? 250-
113 <<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
114 ??? 250-
115 <<< 250-SIZE 52428800
116 ??? 250-
117 <<< 250-8BITMIME
118 ??? 250-
119 <<< 250-PIPELINING
120 ??? 250-
121 <<< 250-STARTTLS
122 ??? 250
123 <<< 250 HELP
124 >>> starttls
125 ??? 220
126 <<< 220 TLS go ahead
127 Attempting to start TLS
128 SSL connection using ke-RSA-AES256-SHA
129 Succeeded in starting TLS
130 >>> mail from:<userx@test.ex>
131 ??? 250
132 <<< 250 OK
133 >>> rcpt to:<userx@test.ex>
134 ??? 250
135 <<< 250 Accepted
136 >>> quit
137 ??? 221
138 <<< 221 myhost.test.ex closing connection
139 End of script
140 ### Bad certificate, certificate required
141 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
142 Certificate file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem
143 Key file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
144 ??? 220
145 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
146 >>> ehlo rhu.barb
147 ??? 250-
148 <<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
149 ??? 250-
150 <<< 250-SIZE 52428800
151 ??? 250-
152 <<< 250-8BITMIME
153 ??? 250-
154 <<< 250-PIPELINING
155 ??? 250-
156 <<< 250-STARTTLS
157 ??? 250
158 <<< 250 HELP
159 >>> starttls
160 ??? 220
161 <<< 220 TLS go ahead
162 Attempting to start TLS
163 pppp:error:dddddddd:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:[...]:SSL alert number 48
164 Failed to start TLS
165 >>> noop
166 ??? 554 Security failure
167 <<< 554 Security failure
168 End of script
169 ### Bad certificate, certificate optional at TLS time, reject at ACL time
170 Connecting to 127.0.0.1 port 1225 ... connected
171 Certificate file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem
172 Key file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
173 ??? 220
174 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
175 >>> ehlo rhu.barb
176 ??? 250-
177 <<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
178 ??? 250-
179 <<< 250-SIZE 52428800
180 ??? 250-
181 <<< 250-8BITMIME
182 ??? 250-
183 <<< 250-PIPELINING
184 ??? 250-
185 <<< 250-STARTTLS
186 ??? 250
187 <<< 250 HELP
188 >>> starttls
189 ??? 220
190 <<< 220 TLS go ahead
191 Attempting to start TLS
192 SSL connection using ke-RSA-AES256-SHA
193 Succeeded in starting TLS
194 >>> mail from:<userx@test.ex>
195 ??? 250
196 <<< 250 OK
197 >>> rcpt to:<userx@test.ex>
198 ??? 550
199 <<< 550 certificate not verified: peerdn=/CN=server1.example.net
200 >>> quit
201 ??? 221
202 <<< 221 myhost.test.ex closing connection
203 End of script
204 ### Otherwise good but revoked certificate, certificate required
205 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
206 Certificate file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem
207 Key file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
208 ??? 220
209 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
210 >>> ehlo rhu.barb
211 ??? 250-
212 <<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
213 ??? 250-
214 <<< 250-SIZE 52428800
215 ??? 250-
216 <<< 250-8BITMIME
217 ??? 250-
218 <<< 250-PIPELINING
219 ??? 250-
220 <<< 250-STARTTLS
221 ??? 250
222 <<< 250 HELP
223 >>> starttls
224 ??? 220
225 <<< 220 TLS go ahead
226 Attempting to start TLS
227 pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert certificate revoked:[...]:SSL alert number 44
228 Failed to start TLS
229 >>> noop
230 ??? 554 Security failure
231 <<< 554 Security failure
232 End of script
233 ### Revoked certificate, certificate optional at TLS time, reject at ACL time
234 Connecting to 127.0.0.1 port 1225 ... connected
235 Certificate file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem
236 Key file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
237 ??? 220
238 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
239 >>> ehlo rhu.barb
240 ??? 250-
241 <<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
242 ??? 250-
243 <<< 250-SIZE 52428800
244 ??? 250-
245 <<< 250-8BITMIME
246 ??? 250-
247 <<< 250-PIPELINING
248 ??? 250-
249 <<< 250-STARTTLS
250 ??? 250
251 <<< 250 HELP
252 >>> starttls
253 ??? 220
254 <<< 220 TLS go ahead
255 Attempting to start TLS
256 SSL connection using ke-RSA-AES256-SHA
257 Succeeded in starting TLS
258 >>> mail from:<userx@test.ex>
259 ??? 250
260 <<< 250 OK
261 >>> rcpt to:<userx@test.ex>
262 ??? 550
263 <<< 550 certificate not verified: peerdn=/CN=revoked1.example.com
264 >>> quit
265 ??? 221
266 <<< 221 myhost.test.ex closing connection
267 End of script
268 ### Good certificate, certificate required - but nonmatching CRL also present
269 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
270 Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
271 Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
272 ??? 220
273 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
274 >>> ehlo rhu.barb
275 ??? 250-
276 <<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
277 ??? 250-
278 <<< 250-SIZE 52428800
279 ??? 250-
280 <<< 250-8BITMIME
281 ??? 250-
282 <<< 250-PIPELINING
283 ??? 250-
284 <<< 250-STARTTLS
285 ??? 250
286 <<< 250 HELP
287 >>> starttls
288 ??? 220
289 <<< 220 TLS go ahead
290 Attempting to start TLS
291 SSL connection using ke-RSA-AES256-SHA
292 Succeeded in starting TLS
293 >>> mail from:<userx@test.ex>
294 ??? 250
295 <<< 250 OK
296 >>> rcpt to:<userx@test.ex>
297 ??? 250
298 <<< 250 Accepted
299 >>> quit
300 ??? 221
301 <<< 221 myhost.test.ex closing connection
302 End of script
303
304 ******** SERVER ********
305 ### No certificate, certificate required
306 ### No certificate, certificate optional at TLS time, required by ACL
307 ### Good certificate, certificate required
308 ### Good certificate, certificate optional at TLS time, checked by ACL
309 ### Bad certificate, certificate required
310 ### Bad certificate, certificate optional at TLS time, reject at ACL time
311 ### Otherwise good but revoked certificate, certificate required
312 ### Revoked certificate, certificate optional at TLS time, reject at ACL time
313 ### Good certificate, certificate required - but nonmatching CRL also present