summaryrefslogtreecommitdiff
path: root/test/stdout/0900
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-09-01 18:25:58 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-09-01 21:15:47 +0100
commit45bd315dc080b8f77679ba5ae60e35b0d8c9e97c (patch)
treecb2c9063a3fd7eb6bd6eebe2971da4878b2846db /test/stdout/0900
parentfbbd45ff5ade30d38ca60ea5aeccc305501c9174 (diff)
CHUNKING: after rejecting a pipelined SMTP command, flush any followon BDAT data
Diffstat (limited to 'test/stdout/0900')
-rw-r--r--test/stdout/090037
1 files changed, 37 insertions, 0 deletions
diff --git a/test/stdout/0900 b/test/stdout/0900
index bf6010f82..70c527c17 100644
--- a/test/stdout/0900
+++ b/test/stdout/0900
@@ -259,3 +259,40 @@ Connecting to 127.0.0.1 port 1225 ... connected
??? 221
<<< 221 testhost.test.ex closing connection
End of script
+Connecting to 127.0.0.1 port 1225 ... connected
+??? 220
+<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+>>> EHLO tester
+??? 250-
+<<< 250-testhost.test.ex Hello tester [127.0.0.1]
+??? 250-SIZE
+<<< 250-SIZE 52428800
+??? 250-8BITMIME
+<<< 250-8BITMIME
+??? 250-PIPELINING
+<<< 250-PIPELINING
+??? 250-CHUNKING
+<<< 250-CHUNKING
+??? 250 HELP
+<<< 250 HELP
+>>> MAIL FROM:<someone@some.domain>\r\nRCPT TO:<dummy@reject.ex>\r\nBDAT 86\r\nTo: Susan@random.com\r\nFrom: Sal@random.com\r\nSubject: This is a bodyless test message\r\nBDAT 6 LAST\r\nZZ\r\n
+??? 250
+<<< 250 OK
+??? 550
+<<< 550 relay not permitted
+??? 503-
+<<< 503-All RCPT commands were rejected with this error:
+??? 503-
+<<< 503-relay not permitted
+??? 503
+<<< 503 Valid RCPT command must precede BDAT
+??? 503-
+<<< 503-All RCPT commands were rejected with this error:
+??? 503-
+<<< 503-relay not permitted
+??? 503
+<<< 503 valid RCPT command must precede BDAT
+>>> quit
+??? 221
+<<< 221 testhost.test.ex closing connection
+End of script