SPF: fix handling mix of spf and other txt records. Bug 2499
[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 >>> mail from:<userx@test.ex>
87 ??? 250
88 <<< 250 OK
89 >>> rcpt to:<userx@test.ex>
90 ??? 250
91 <<< 250 Accepted
92 >>> quit
93 ??? 221
94 <<< 221 myhost.test.ex closing connection
95 End of script
96 ### Good certificate, certificate optional at TLS time, checked by ACL
97 Connecting to 127.0.0.1 port 1225 ... connected
98 Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
99 Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
100 ??? 220
101 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
102 >>> ehlo rhu4.barb
103 ??? 250-
104 <<< 250-myhost.test.ex Hello rhu4.barb [127.0.0.1]
105 ??? 250-
106 <<< 250-SIZE 52428800
107 ??? 250-
108 <<< 250-8BITMIME
109 ??? 250-
110 <<< 250-PIPELINING
111 ??? 250-
112 <<< 250-STARTTLS
113 ??? 250
114 <<< 250 HELP
115 >>> starttls
116 ??? 220
117 <<< 220 TLS go ahead
118 Attempting to start TLS
119 Succeeded in starting TLS
120 >>> mail from:<userx@test.ex>
121 ??? 250
122 <<< 250 OK
123 >>> rcpt to:<userx@test.ex>
124 ??? 250
125 <<< 250 Accepted
126 >>> quit
127 ??? 221
128 <<< 221 myhost.test.ex closing connection
129 End of script
130 ### Bad certificate, certificate required
131 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
132 Certificate file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem
133 Key file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
134 ??? 220
135 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
136 >>> ehlo rhu5.barb
137 ??? 250-
138 <<< 250-myhost.test.ex Hello rhu5.barb [ip4.ip4.ip4.ip4]
139 ??? 250-
140 <<< 250-SIZE 52428800
141 ??? 250-
142 <<< 250-8BITMIME
143 ??? 250-
144 <<< 250-PIPELINING
145 ??? 250-
146 <<< 250-STARTTLS
147 ??? 250
148 <<< 250 HELP
149 >>> starttls
150 ??? 220
151 <<< 220 TLS go ahead
152 Attempting to start TLS
153 A TLS fatal alert has been received.
154 Failed to start TLS
155 >>> nop
156 ????554
157 End of script
158 ### Bad certificate, certificate optional at TLS time, reject at ACL time
159 Connecting to 127.0.0.1 port 1225 ... connected
160 Certificate file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem
161 Key file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
162 ??? 220
163 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
164 >>> ehlo rhu6.barb
165 ??? 250-
166 <<< 250-myhost.test.ex Hello rhu6.barb [127.0.0.1]
167 ??? 250-
168 <<< 250-SIZE 52428800
169 ??? 250-
170 <<< 250-8BITMIME
171 ??? 250-
172 <<< 250-PIPELINING
173 ??? 250-
174 <<< 250-STARTTLS
175 ??? 250
176 <<< 250 HELP
177 >>> starttls
178 ??? 220
179 <<< 220 TLS go ahead
180 Attempting to start TLS
181 Succeeded in starting TLS
182 >>> mail from:<userx@test.ex>
183 ??? 250
184 <<< 250 OK
185 >>> rcpt to:<userx@test.ex>
186 ??? 550
187 <<< 550 certificate not verified: peerdn=
188 >>> quit
189 ??? 221
190 <<< 221 myhost.test.ex closing connection
191 End of script
192 ### Otherwise good but revoked certificate, certificate required
193 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
194 Certificate file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem
195 Key file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
196 ??? 220
197 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
198 >>> ehlo rhu7.barb
199 ??? 250-
200 <<< 250-myhost.test.ex Hello rhu7.barb [ip4.ip4.ip4.ip4]
201 ??? 250-
202 <<< 250-SIZE 52428800
203 ??? 250-
204 <<< 250-8BITMIME
205 ??? 250-
206 <<< 250-PIPELINING
207 ??? 250-
208 <<< 250-STARTTLS
209 ??? 250
210 <<< 250 HELP
211 >>> starttls
212 ??? 220
213 <<< 220 TLS go ahead
214 Attempting to start TLS
215 A TLS fatal alert has been received.
216 Failed to start TLS
217 >>> mail from:<userx@test.ex>
218 ??? 554
219 <<< 554 Security failure
220 End of script
221 ### Revoked certificate, certificate optional at TLS time, reject at ACL time
222 Connecting to 127.0.0.1 port 1225 ... connected
223 Certificate file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem
224 Key file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
225 ??? 220
226 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
227 >>> ehlo rhu8.barb
228 ??? 250-
229 <<< 250-myhost.test.ex Hello rhu8.barb [127.0.0.1]
230 ??? 250-
231 <<< 250-SIZE 52428800
232 ??? 250-
233 <<< 250-8BITMIME
234 ??? 250-
235 <<< 250-PIPELINING
236 ??? 250-
237 <<< 250-STARTTLS
238 ??? 250
239 <<< 250 HELP
240 >>> starttls
241 ??? 220
242 <<< 220 TLS go ahead
243 Attempting to start TLS
244 Succeeded in starting TLS
245 >>> mail from:<userx@test.ex>
246 ??? 250
247 <<< 250 OK
248 >>> rcpt to:<userx@test.ex>
249 ??? 550
250 <<< 550 certificate not verified: peerdn=CN=revoked1.example.com
251 >>> quit
252 ??? 221
253 <<< 221 myhost.test.ex closing connection
254 End of script
255 ### Good certificate, certificate required - but nonmatching CRL also present
256 Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
257 Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
258 Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
259 ??? 220
260 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
261 >>> ehlo rhu9.barb
262 ??? 250-
263 <<< 250-myhost.test.ex Hello rhu9.barb [ip4.ip4.ip4.ip4]
264 ??? 250-
265 <<< 250-SIZE 52428800
266 ??? 250-
267 <<< 250-8BITMIME
268 ??? 250-
269 <<< 250-PIPELINING
270 ??? 250-
271 <<< 250-STARTTLS
272 ??? 250
273 <<< 250 HELP
274 >>> starttls
275 ??? 220
276 <<< 220 TLS go ahead
277 Attempting to start TLS
278 Succeeded in starting TLS
279 >>> mail from:<userx@test.ex>
280 ??? 250
281 <<< 250 OK
282 >>> rcpt to:<userx@test.ex>
283 ??? 250
284 <<< 250 Accepted
285 >>> quit
286 ??? 221
287 <<< 221 myhost.test.ex closing connection
288 End of script
289
290 ******** SERVER ********
291 ### No certificate, certificate required
292 ### No certificate, certificate optional at TLS time, required by ACL
293 ### Good certificate, certificate required
294 ### Good certificate, certificate optional at TLS time, checked by ACL
295 ### Bad certificate, certificate required
296 ### Bad certificate, certificate optional at TLS time, reject at ACL time
297 ### Otherwise good but revoked certificate, certificate required
298 ### Revoked certificate, certificate optional at TLS time, reject at ACL time
299 ### Good certificate, certificate required - but nonmatching CRL also present