X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/1d717e1c110562fd6bf28478c79f180cafeba776..cf39dad3d551222a3e1f681995c287eb53e2596f:/test/scripts/0000-Basic/0904?ds=inline diff --git a/test/scripts/0000-Basic/0904 b/test/scripts/0000-Basic/0904 index fa72256c0..9f09a84ef 100644 --- a/test/scripts/0000-Basic/0904 +++ b/test/scripts/0000-Basic/0904 @@ -206,29 +206,34 @@ QUIT **** # # Error case: server wrongly expected more data, client gets timeout for data-ack -server PORT_S -220 Greetings -EHLO -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM -RCPT TO -BDAT 329 LAST -*data 330 -250 good mail cmd -**** -sudo exim -odf -bS -EHLO test -MAIL FROM: -RCPT TO: -DATA -Subject: foo - -data -. -QUIT -**** +# XXX This is a problem with data/quit pipelining. The succeeding SMTP command cannot +# be distinguished from the data, by the errroneous server. +# Of course, we could avoid such pipelining on the client side, when BDAT is used. +# But - is this any worse than a server failing to spot the data-dot under DATA? +# I think not; both are culpable, and there is only so much the client can do. +#server PORT_S +#220 Greetings +#EHLO +#250-Hello there +#250-PIPELINING +#250 CHUNKING +#MAIL FROM +#RCPT TO +#BDAT 329 LAST +#*data 330 +#250 good mail cmd +#**** +#sudo exim -odf -bS +#EHLO test +#MAIL FROM: +#RCPT TO: +#DATA +#Subject: foo +# +#data +#. +#QUIT +#**** # # Error case: server wrongly expected less data # client get the data-ack, sends quit - but server