1 # CHUNKING transmission, short messages
3 # Start with non-pipelined cases
24 MAIL FROM:<sender@source.dom>
34 # Error case: server wrongly expected more data, client gets timeout for data-ack
43 250 acceptable rcpt cmd
52 MAIL FROM:<sender@source.dom>
62 # Error case: server wrongly expected less data
63 # client get the data-ack, sends quit - but server
64 # sees a munged quit due to the outstanding data tail
82 MAIL FROM:<sender@source.dom>
92 # server rejects BDAT cmd
110 MAIL FROM:<sender@source.dom>
120 # server tmp-rejects BDAT cmd
138 MAIL FROM:<sender@source.dom>
149 # Server rejects RCPT. Client should not proceed to BDAT.
163 MAIL FROM:<sender@source.dom>
164 RCPT TO:<ebad@test.ex>
174 ###################################################
178 # Basic short message
198 MAIL FROM:<sender@source.dom>
208 # Error case: server wrongly expected more data, client gets timeout for data-ack
209 # XXX This is a problem with data/quit pipelining. The succeeding SMTP command cannot
210 # be distinguished from the data, by the errroneous server.
211 # Of course, we could avoid such pipelining on the client side, when BDAT is used.
212 # But - is this any worse than a server failing to spot the data-dot under DATA?
213 # I think not; both are culpable, and there is only so much the client can do.
228 #MAIL FROM:<sender@source.dom>
238 # Error case: server wrongly expected less data
239 # client get the data-ack, sends quit - but server
240 # sees a munged quit due to the outstanding data tail
259 MAIL FROM:<sender@source.dom>
269 # server rejects MAIL cmd
270 # transport coding does not handle the possible RSET-and-another transaction,
282 550 unacceptable mail-from
283 550 rcpt ungood lacking mail-from
284 500 bdat ungood lacking mail-from
290 MAIL FROM:<sender@source.dom>
300 # server tmp-rejects MAIL cmd
311 450 greylisted mail-from
312 550 rcpt ungood lacking mail-from
313 500 bdat ungood lacking mail-from
319 MAIL FROM:<sender@source.dom>
329 # server rejects RCPT cmd
341 550 no such recipient
348 MAIL FROM:<sender@source.dom>
358 # server rejects BDAT cmd
377 MAIL FROM:<sender@source.dom>
387 # server tmp-rejects BDAT cmd
400 400 not right now bdat
406 MAIL FROM:<sender@source.dom>