# CHUNKING reception, no pipelining exim -DSERVER=server -bd -oX PORT_D **** # # plain, small message (no body) client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250-SIZE ??? 250-8BITMIME ??? 250-CHUNKING ??? 250 HELP mail from:someone1@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 88 last To: Susan@random.com From: Sam@random.com Subject: This is a bodyless test message ??? 250- ??? 250 quit ??? 221 **** # # plain, small message (with body) # nonlast 1st bdat, noop, last-bdat(0) # immediate followon 2nd message client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250- ??? 250- ??? 250- ??? 250 mail from:someone2@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 100 To: Susan@random.com From: Sam@random.com Subject: This is a bodyfull test message 1234567890 ??? 250 noop ??? 250 bdat 0 last ??? 250- ??? 250 mail from:someone3@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 10 >>> To: Susan@ ??? 250 bdat 78 last random.com From: Sam@random.com Subject: This is a bodyless test message ??? 250- ??? 250 quit ??? 221 **** # # plain, small message (with body) # nonlast 1st bdat, noop, last-bdat(0) INCORRECTLY PIPELINED # immediate followon 2nd message client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250- ??? 250- ??? 250- ??? 250 mail from:someone2A@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 100 To: Susan@random.com From: Sam@random.com Subject: This is a bodyfull test message 1234567890 ??? 250 noop ??? 250 bdat 0 last ??? 250- ??? 250 mail from:someone3A@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 10 >>> To: Susan@ ??? 250 bdat 78 last random.com From: Sam@random.com Subject: This is a bodyless test message ??? 250- ??? 250 quit ??? 221 **** # # not enough data in chunk # client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250- ??? 250- ??? 250- ??? 250 mail from:someone4@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 89 last To: Susan@random.com From: Sam@random.com Subject: This is a bodyless test message ??? 421 **** # # protocol failure cases # client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250- ??? 250- ??? 250- ??? 250 mail from:someone5@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com From: Sam@random.com Subject: This is a bodyless test message ??? 250 bdat 0 ??? 504 quit ??? 221 **** # # followon EHLO and another message client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250- ??? 250- ??? 250- ??? 250 mail from:someone6@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com From: Sam@random.com Subject: This is a bodyless test message ??? 250 data ??? 503 RSET ??? 250 EHLO tester ??? 250- ??? 250- ??? 250- ??? 250- ??? 250 mail from:someone7@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com From: Sam@random.com Subject: This is a bodyless test message ??? 250 data ??? 503 data ??? 503 quit ??? 221 **** # # plain, small message (no body), chunk data with bdat line client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250-SIZE ??? 250-8BITMIME ??? 250-CHUNKING ??? 250 HELP mail from:someone8@some.domain ??? 250 rcpt to:CALLER@test.ex ??? 250 bdat 88 last\r\nTo: Susan@random.com From: Sam@random.com Subject: This is a bodyless test message ??? 250- ??? 250 quit ??? 221 **** # # plain, small message (no body), 2 chunks, pipeline sync error for 2nd client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- ??? 250-SIZE ??? 250-8BITMIME ??? 250-CHUNKING ??? 250 HELP MAIL FROM:someone9@some.domain ??? 250 RCPT TO:CALLER@test.ex ??? 250 BDAT 1\r\nTBDAT 87 last\r\no: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n\r\n ??? 554 SMTP synchronization error **** # # killdaemon no_msglog_check