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
66 Subject: This is a bodyless test message
74 # plain, small message (with body)
75 # nonlast 1st bdat, noop, last-bdat(0) INCORRECTLY PIPELINED
76 # immediate followon 2nd message
77 client 127.0.0.1 PORT_D
85 mail from:someone2A@some.domain
87 rcpt to:CALLER@test.ex
92 Subject: This is a bodyfull test message
101 mail from:someone3A@some.domain
103 rcpt to:CALLER@test.ex
111 Subject: This is a bodyless test message
119 # not enough data in chunk
121 client 127.0.0.1 PORT_D
129 mail from:someone4@some.domain
131 rcpt to:CALLER@test.ex
136 Subject: This is a bodyless test message
141 # protocol failure cases
143 client 127.0.0.1 PORT_D
151 mail from:someone5@some.domain
153 rcpt to:CALLER@test.ex
158 Subject: This is a bodyless test message
167 # followon EHLO and another message
168 client 127.0.0.1 PORT_D
176 mail from:someone6@some.domain
178 rcpt to:CALLER@test.ex
183 Subject: This is a bodyless test message
196 mail from:someone7@some.domain
198 rcpt to:CALLER@test.ex
203 Subject: This is a bodyless test message
214 # plain, small message (no body), chunk data with bdat line
215 client 127.0.0.1 PORT_D
223 mail from:someone8@some.domain
225 rcpt to:CALLER@test.ex
227 bdat 88 last\r\nTo: Susan@random.com
229 Subject: This is a bodyless test message
237 # plain, small message (no body), 2 chunks, pipeline sync error for 2nd
238 client 127.0.0.1 PORT_D
246 mail from:someone9@some.domain
248 rcpt to:CALLER@test.ex
250 bdat 1\r\nTbdat 87 last
253 Subject: This is a bodyless test message
255 ??? 554 SMTP synchronization error