-Connecting to 127.0.0.1 port 1224 ... connected
-??? 220
-<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
->>> EHLO test.com
-??? 250-
-<<< 250-testhost.test.ex Hello test.com [127.0.0.1]
-??? 250-
-<<< 250-SIZE 52428800
-??? 250-
-<<< 250-8BITMIME
-??? 250-
-<<< 250-PIPELINING
-??? 250-
-<<< 250-CHUNKING
-??? 250
-<<< 250 HELP
->>> MAIL FROM:<sender@dom>
-??? 250
-<<< 250 OK
->>> RCPT TO:<a@test.ex>
-??? 250
-<<< 250 Accepted
->>> BDAT 8408 LAST
->>> Subject: foo
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>>
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
->>> .dot
->>> tail
-??? 250-
-<<< 250- 8408 byte chunk, total 8408
-??? 250
-<<< 250 OK id=10HmaX-0005vi-00
->>> QUIT
+
+******** SERVER ********
+Listening on port 1224 ...
+Connection request from [127.0.0.1]
+220 Greetings
+EHLO testhost.test.ex
+250-Hello there
+250 CHUNKING
+MAIL FROM:<>
+250 OK
+RCPT TO:<a@test.ex>
+250 OK
+BDAT 311
+250 OK nonlast bdat
+BDAT 8380 LAST
+250 OK bdat
+QUIT
+225 OK
+Expected EOF read from client
+End of script
+Listening on port 1224 ...
+Connection request from [127.0.0.1]
+220 Greetings
+EHLO testhost.test.ex
+250-Hello there
+250 CHUNKING
+MAIL FROM:<>
+250 OK
+RCPT TO:<d@test.ex>
+250 OK
+BDAT 311
+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 311
+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
+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:<s@test.ex>
+BDAT 311
+550 unacceptable mail-from
+550 rcpt ungood lacking mail-from
+500 bdat (nonlast) ungood lacking mail-from
+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:<t@test.ex>
+BDAT 311
+250 OK mail
+550 no such recipient
+500 oops nonlast bdat - no rcpt
+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:<t1@test.ex>
+RCPT TO:<t2@test.ex>
+BDAT 295
+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 311
+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 311
+250 OK mail
+250 OK rcpt
+250 OK nonlast bdat
+BDAT 8380 LAST
+500 oops 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 311
+250 OK mail
+250 OK rcpt
+400 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:<p@test.ex>
+BDAT 8191
+250 OK mail
+250 OK rcpt
+250 OK nonlast bdat
+BDAT 823 LAST
+250 OK bdat
+QUIT
+225 OK
+Expected EOF read from client
End of script