summaryrefslogtreecommitdiff
path: root/test/scripts/5400-cutthrough
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-01-21 15:37:08 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-01-22 10:53:09 +0000
commit1bc460a64a0de0766d21f4f8660c6597bc410cbc (patch)
tree2ac176817e7a3b84c5cadf90b7132d12345e07fd /test/scripts/5400-cutthrough
parent4dce3152ce5e257dde0575dc2fab4121d127dfb5 (diff)
Cutthrough: Fix bug with dot-only line
Diffstat (limited to 'test/scripts/5400-cutthrough')
-rw-r--r--test/scripts/5400-cutthrough/540034
1 files changed, 34 insertions, 0 deletions
diff --git a/test/scripts/5400-cutthrough/5400 b/test/scripts/5400-cutthrough/5400
index 5344ba51c..109b43928 100644
--- a/test/scripts/5400-cutthrough/5400
+++ b/test/scripts/5400-cutthrough/5400
@@ -414,5 +414,39 @@ QUIT
#
#
#
+# data having line with (logical, doubled on wire) single dot
+server PORT_S
+220 ESMTP
+EHLO
+250 OK
+MAIL FROM:
+250 Sender OK
+RCPT TO:
+250 Recipient OK
+DATA
+354 Send data
+.
+250 OK
+QUIT
+250 OK
+****
+exim -bs -odf
+EHLO myhost.test.ex
+MAIL FROM:<CALLER@myhost.test.ex>
+RCPT TO:<userx@domain.com>
+DATA
+Subject: singledot test
+
+This data has a line with a single dot... next:
+..
+and this is the line right after.
+Next we have a line with a leading dot:
+..test
+and this is the next line.
+
+.
+QUIT
+****
+#
#
# End