220 Greetings
EHLO testhost.test.ex
250-Hello there
+250-PIPELINING
250 CHUNKING
MAIL FROM:<>
-250 OK
RCPT TO:<a@test.ex>
-250 OK
-BDAT 297
-250 OK nonlast bdat
-BDAT 8380 LAST
+BDAT 345 LAST
+250 OK mail
+250 OK rcpt
250 OK bdat
QUIT
225 OK
220 Greetings
EHLO testhost.test.ex
250-Hello there
-250 CHUNKING
-MAIL FROM:<>
-250 OK
-RCPT TO:<d@test.ex>
-250 OK
-BDAT 297
-500 oops bdat-nonlast
-QUIT
-225 OK
-End of script
-Listening on port 1224 ...
-Connection request from [127.0.0.1]
-220 Greetings
-EHLO testhost.test.ex
-250-Hello there
250-PIPELINING
250 CHUNKING
MAIL FROM:<>
-RCPT TO:<p@test.ex>
-BDAT 297
+RCPT TO:<c@test.ex>
+BDAT 345 LAST
250 OK mail
250 OK rcpt
-250 OK nonlast bdat
-BDAT 8380 LAST
250 OK bdat
-QUIT
-225 OK
-Expected EOF read from client
-End of script
+
+Comparison failed - bailing out
+Expected: QUIT
Listening on port 1224 ...
Connection request from [127.0.0.1]
220 Greetings
250-PIPELINING
250 CHUNKING
MAIL FROM:<>
-RCPT TO:<s@test.ex>
-BDAT 297
+RCPT TO:<d@test.ex>
+BDAT 345 LAST
550 unacceptable mail-from
550 rcpt ungood lacking mail-from
-500 bdat (nonlast) ungood lacking mail-from
+500 bdat ungood lacking mail-from
QUIT
225 OK
End of script
250-PIPELINING
250 CHUNKING
MAIL FROM:<>
-RCPT TO:<t@test.ex>
-BDAT 297
-250 OK mail
-550 no such recipient
-500 oops nonlast bdat - no rcpt
+RCPT TO:<c1@test.ex>
+BDAT 346 LAST
+450 greylisted mail-from
+550 rcpt ungood lacking mail-from
+500 bdat ungood lacking mail-from
QUIT
225 OK
End of script
250-PIPELINING
250 CHUNKING
MAIL FROM:<>
-RCPT TO:<t1@test.ex>
-RCPT TO:<t2@test.ex>
-BDAT 281
+RCPT TO:<e@test.ex>
+BDAT 345 LAST
250 OK mail
550 no such recipient
-250 good recipient
-200 OK nonlast bdat
-BDAT 8380 LAST
-250 OK bdat
-QUIT
-225 OK
-End of script
-Listening on port 1224 ...
-Connection request from [127.0.0.1]
-220 Greetings
-EHLO testhost.test.ex
-250-Hello there
-250-PIPELINING
-250 CHUNKING
-MAIL FROM:<>
-RCPT TO:<u@test.ex>
-BDAT 297
-250 OK mail
-250 OK rcpt
-500 oops nonlast bdat
-QUIT
-225 OK
-End of script
-Listening on port 1224 ...
-Connection request from [127.0.0.1]
-220 Greetings
-EHLO testhost.test.ex
-250-Hello there
-250-PIPELINING
-250 CHUNKING
-MAIL FROM:<>
-RCPT TO:<v@test.ex>
-BDAT 297
-250 OK mail
-250 OK rcpt
-250 OK nonlast bdat
-BDAT 8380 LAST
500 oops bdat
QUIT
225 OK
250-PIPELINING
250 CHUNKING
MAIL FROM:<>
-RCPT TO:<u@test.ex>
-BDAT 297
+RCPT TO:<g@test.ex>
+BDAT 345 LAST
250 OK mail
250 OK rcpt
-400 oops nonlast bdat
+500 oops bdat
QUIT
225 OK
End of script
250-PIPELINING
250 CHUNKING
MAIL FROM:<>
-RCPT TO:<p@test.ex>
-BDAT 8191
+RCPT TO:<h@test.ex>
+BDAT 345 LAST
250 OK mail
250 OK rcpt
-250 OK nonlast bdat
-BDAT 809 LAST
-250 OK bdat
+400 not right now bdat
QUIT
225 OK
-Expected EOF read from client
End of script