1 # CHUNKING reception, no pipelining
2 exim -DSERVER=server -bd -oX PORT_D
5 # plain, small message (no body)
6 client 127.0.0.1 PORT_D
14 mail from:someone1@some.domain
16 rcpt to:CALLER@test.ex
21 Subject: This is a bodyless test message
29 # plain, small message (with body)
30 # nonlast 1st bdat, noop, last-bdat(0)
31 # immediate followon 2nd message
32 client 127.0.0.1 PORT_D
40 mail from:someone2@some.domain
42 rcpt to:CALLER@test.ex
47 Subject: This is a bodyfull test message
56 mail from:someone3@some.domain
58 rcpt to:CALLER@test.ex
61 To: Susan@bdat 78 last
65 Subject: This is a bodyless test message
73 # not enough data in chunk
75 client 127.0.0.1 PORT_D
83 mail from:someone4@some.domain
85 rcpt to:CALLER@test.ex
90 Subject: This is a bodyless test message
95 # protocol failure cases
97 client 127.0.0.1 PORT_D
105 mail from:someone5@some.domain
107 rcpt to:CALLER@test.ex
112 Subject: This is a bodyless test message
121 # followon EHLO and another message
122 client 127.0.0.1 PORT_D
130 mail from:someone6@some.domain
132 rcpt to:CALLER@test.ex
137 Subject: This is a bodyless test message
150 mail from:someone7@some.domain
152 rcpt to:CALLER@test.ex
157 Subject: This is a bodyless test message
168 # plain, small message (no body), chunk data with bdat line
169 client 127.0.0.1 PORT_D
177 mail from:someone8@some.domain
179 rcpt to:CALLER@test.ex
181 bdat 88 last\r\nTo: Susan@random.com
183 Subject: This is a bodyless test message
191 # plain, small message (no body), 2 chunks, pipeline sync error for 2nd
192 client 127.0.0.1 PORT_D
200 mail from:someone9@some.domain
202 rcpt to:CALLER@test.ex
204 bdat 1\r\nTbdat 87 last
207 Subject: This is a bodyless test message
209 ??? 554 SMTP synchronization error