summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
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/scripts/0000-Basic
parentfbbd45ff5ade30d38ca60ea5aeccc305501c9174 (diff)
CHUNKING: after rejecting a pipelined SMTP command, flush any followon BDAT data
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/090024
1 files changed, 24 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900
index 9774e5747..9e014c43e 100644
--- a/test/scripts/0000-Basic/0900
+++ b/test/scripts/0000-Basic/0900
@@ -191,5 +191,29 @@ quit
??? 221
****
#
+# plain, longer message (xple chunks), RCPT rejected
+# pipelined
+client 127.0.0.1 PORT_D
+??? 220
+EHLO tester
+??? 250-
+??? 250-SIZE
+??? 250-8BITMIME
+??? 250-PIPELINING
+??? 250-CHUNKING
+??? 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
+??? 550
+??? 503-
+??? 503-
+??? 503
+??? 503-
+??? 503-
+??? 503
+quit
+??? 221
+****
+#
killdaemon
no_msglog_check