Fixup testsuite cases affected by dual-tls - mainly EHLO on callouts.
[exim.git] / test / scripts / 0000-Basic / 0217
1 # PIPELINING (client: errors, etc)
2 need_ipv4
3 #
4 server PORT_S
5 220 Server ready
6 EHLO
7 250-OK
8 250 PIPELINING
9 MAIL FROM
10 250 OK
11 RCPT TO
12 250 OK
13 RCPT TO
14 451 Temp error
15 RCPT TO
16 550 Perm error
17 RCPT TO
18 250 OK
19 DATA
20 351 Send more
21 .
22 250 OK
23 ****
24 exim -odi a b c d
25 .
26 ****
27 # Response timeout
28 server PORT_S
29 220 Server ready
30 EHLO
31 250-OK
32 250 PIPELINING
33 MAIL FROM
34 250 OK
35 RCPT TO
36 250 OK
37 *sleep 2
38 ****
39 exim -odi a b c
40 .
41 ****
42 # Temp error on MAIL
43 server PORT_S
44 220 Server ready
45 EHLO
46 250-OK
47 250 PIPELINING
48 MAIL FROM
49 451 Temp error
50 RCPT TO
51 503 No sender given
52 RCPT TO
53 503 No sender given
54 DATA
55 503 No envelope
56 QUIT
57 250 OK
58 ****
59 exim -odi a b
60 .
61 ****
62 # Perm error on MAIL
63 server PORT_S
64 220 Server ready
65 EHLO
66 250-OK
67 250 PIPELINING
68 MAIL FROM
69 550 Perm error
70 RCPT TO
71 503 No sender given
72 RCPT TO
73 503 No sender given
74 DATA
75 503 No envelope
76 QUIT
77 250 OK
78 ****
79 exim -odi a b
80 .
81 ****
82 # All get temp errors
83 server PORT_S
84 220 Server ready
85 EHLO
86 250-OK
87 250 PIPELINING
88 MAIL FROM
89 250 OK
90 RCPT TO
91 451 Temp error 1
92 RCPT TO
93 451 Temp error 2
94 DATA
95 503 No recipients
96 QUIT
97 250 OK
98 ****
99 exim -odi a b
100 .
101 ****
102 # All get perm errors
103 server PORT_S
104 220 Server ready
105 EHLO
106 250-OK
107 250 PIPELINING
108 MAIL FROM
109 250 OK
110 RCPT TO
111 551 Perm error 1
112 RCPT TO
113 551 Perm error 2
114 DATA
115 503 No recipients
116 QUIT
117 250 OK
118 ****
119 exim -odi a b
120 .
121 ****
122 # Mixed temp and perm
123 server PORT_S
124 220 Server ready
125 EHLO
126 250-OK
127 250 PIPELINING
128 MAIL FROM
129 250 OK
130 RCPT TO
131 451 Temp error 1
132 RCPT TO
133 551 Perm error 2
134 DATA
135 503 No recipients
136 QUIT
137 250 OK
138 ****
139 exim -odi a b
140 .
141 ****
142 # Perm error on DATA after good recipients
143 server PORT_S
144 220 Server ready
145 EHLO
146 250-OK
147 250 PIPELINING
148 MAIL FROM
149 250 OK
150 RCPT TO
151 250 OK
152 RCPT TO
153 250 OK
154 DATA
155 503 Sorry perm data error
156 QUIT
157 250 OK
158 ****
159 exim -odi a b
160 .
161 ****
162 # Temp error on DATA after good recipients
163 server PORT_S
164 220 Server ready
165 EHLO
166 250-OK
167 250 PIPELINING
168 MAIL FROM
169 250 OK
170 RCPT TO
171 250 OK
172 RCPT TO
173 250 OK
174 DATA
175 403 Sorry temp data error
176 QUIT
177 250 OK
178 ****
179 exim -odi a b
180 .
181 ****
182 # Temp error on DATA after good recipients, but in first block of a
183 # multi-block interaction
184 server PORT_S
185 220 Server ready
186 EHLO
187 250-OK
188 250 PIPELINING
189 MAIL FROM
190 250 OK
191 RCPT TO
192 250 OK
193 RCPT TO
194 550 NO
195 RCPT TO
196 550 NO
197 RCPT TO
198 550 NO
199 RCPT TO
200 550 NO
201 RCPT TO
202 550 NO
203 RCPT TO
204 550 NO
205 RCPT TO
206 550 NO
207 RCPT TO
208 550 NO
209 RCPT TO
210 550 NO
211 RCPT TO
212 550 NO
213 RCPT TO
214 550 NO
215 RCPT TO
216 550 NO
217 RCPT TO
218 550 NO
219 RCPT TO
220 550 NO
221 RCPT TO
222 550 NO
223 RCPT TO
224 550 NO
225 RCPT TO
226 550 NO
227 RCPT TO
228 550 NO
229 RCPT TO
230 550 NO
231 RCPT TO
232 550 NO
233 RCPT TO
234 550 NO
235 RCPT TO
236 550 NO
237 RCPT TO
238 550 NO
239 RCPT TO
240 550 NO
241 RCPT TO
242 550 NO
243 RCPT TO
244 550 NO
245 RCPT TO
246 550 NO
247 RCPT TO
248 550 NO
249 RCPT TO
250 550 NO
251 RCPT TO
252 550 NO
253 RCPT TO
254 550 NO
255 RCPT TO
256 550 NO
257 RCPT TO
258 550 NO
259 RCPT TO
260 550 NO
261 RCPT TO
262 550 NO
263 RCPT TO
264 550 NO
265 RCPT TO
266 550 NO
267 RCPT TO
268 550 NO
269 RCPT TO
270 550 NO
271 RCPT TO
272 550 NO
273 RCPT TO
274 550 NO
275 RCPT TO
276 550 NO
277 RCPT TO
278 550 NO
279 RCPT TO
280 550 NO
281 RCPT TO
282 550 NO
283 RCPT TO
284 550 NO
285 RCPT TO
286 550 NO
287 RCPT TO
288 550 NO
289 RCPT TO
290 550 NO
291 RCPT TO
292 550 NO
293 RCPT TO
294 550 NO
295 DATA
296 403 Sorry temp data error
297 QUIT
298 250 OK
299 ****
300 exim -v -odi a b c d e f g h i j k l m n o p q r s t u v w x y z aa bb cc dd ee ff gg hh ii jj kk ll mm nn oo pp qq rr ss tt uu vv ww xx yy zz
301 .
302 ****
303 # Server drops connection after some responses
304 server PORT_S
305 220 Server ready
306 EHLO
307 250-OK
308 250 PIPELINING
309 MAIL FROM
310 250 OK
311 RCPT TO
312 250 OK
313 RCPT TO
314 550 NO
315 ****
316 exim -odi a b c d e
317 .
318 ****
319 # Discard retry data
320 sudo rm DIR/spool/db/*
321 #
322 # Test hosts_avoid_pipelining
323 server PORT_S
324 220 Server ready
325 EHLO
326 250-OK
327 250 PIPELINING
328 MAIL FROM
329 250 OK
330 RCPT TO
331 250 OK
332 RCPT TO
333 250 OK
334 RCPT TO
335 250 OK
336 RCPT TO
337 250 OK
338 DATA
339 351 Send more
340 .
341 250 OK
342 ****
343 exim -v -odi -DHAP=hosts_avoid_pipelining=127.0.0.1 w x y z
344 ****
345 no_msglog_check