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