summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-08-02 12:10:41 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-08-02 22:33:21 +0100
commit2d14f39731e88a6d6bb9f1b5c56f497eb12198c4 (patch)
tree02210424975a01203ccc9f6988fb8890f9d40c37 /test
parente0cc6cda55782d98187cdc2d11b7c3352e75c7d4 (diff)
pass advertised facility to continued-transport process
Diffstat (limited to 'test')
-rw-r--r--test/log/09001
-rw-r--r--test/scripts/0000-Basic/090031
-rw-r--r--test/stdout/090035
3 files changed, 61 insertions, 6 deletions
diff --git a/test/log/0900 b/test/log/0900
index 10e96f9a3..63072b9a9 100644
--- a/test/log/0900
+++ b/test/log/0900
@@ -7,3 +7,4 @@
1999-03-02 09:44:33 10HmbA-0005vi-00 SMTP data timeout (message abandoned) on connection from (tester) [127.0.0.1] F=<someone@some.domain>
1999-03-02 09:44:33 SMTP connection from (tester) [127.0.0.1] lost while reading message data
1999-03-02 09:44:33 SMTP connection from (tester) [127.0.0.1] lost while reading message data
+1999-03-02 09:44:33 10HmbB-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@the.local.host.name
diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900
index cb8cf63e3..435906d60 100644
--- a/test/scripts/0000-Basic/0900
+++ b/test/scripts/0000-Basic/0900
@@ -2,13 +2,14 @@
exim -DSERVER=server -bd -oX PORT_D
****
#
+# plain, small message (no body)
client 127.0.0.1 PORT_D
??? 220
ehlo tester
??? 250-
-??? 250-
-??? 250-
-??? 250-
+??? 250-SIZE
+??? 250-8BITMIME
+??? 250-PIPELINING
??? 250-CHUNKING
??? 250 HELP
mail from:someone@some.domain
@@ -26,6 +27,9 @@ quit
??? 221
****
#
+# plain, small message (with body)
+# nonlast 1st bdat, noop, last-bdat(0)
+# immediate followon 2nd message
client 127.0.0.1 PORT_D
??? 220
ehlo tester
@@ -118,6 +122,7 @@ quit
??? 221
****
#
+# followon EHLO and another message
client 127.0.0.1 PORT_D
??? 220
ehlo tester
@@ -166,5 +171,25 @@ quit
??? 221
****
#
+# plain, small message (no body)
+# 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:<CALLER@HOSTNAME>\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n
+??? 250
+??? 250
+??? 250-
+??? 250
+quit
+??? 221
+****
+#
killdaemon
no_msglog_check
diff --git a/test/stdout/0900 b/test/stdout/0900
index 24c591617..28f479c22 100644
--- a/test/stdout/0900
+++ b/test/stdout/0900
@@ -4,11 +4,11 @@ Connecting to 127.0.0.1 port 1225 ... connected
>>> ehlo tester
??? 250-
<<< 250-the.local.host.name Hello tester [127.0.0.1]
-??? 250-
+??? 250-SIZE
<<< 250-SIZE 52428800
-??? 250-
+??? 250-8BITMIME
<<< 250-8BITMIME
-??? 250-
+??? 250-PIPELINING
<<< 250-PIPELINING
??? 250-CHUNKING
<<< 250-CHUNKING
@@ -230,3 +230,32 @@ Connecting to 127.0.0.1 port 1225 ... connected
??? 221
<<< 221 the.local.host.name closing connection
End of script
+Connecting to 127.0.0.1 port 1225 ... connected
+??? 220
+<<< 220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+>>> EHLO tester
+??? 250-
+<<< 250-the.local.host.name 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:<CALLER@the.local.host.name>\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n
+??? 250
+<<< 250 OK
+??? 250
+<<< 250 Accepted
+??? 250-
+<<< 250- 88 byte chunk, total 88
+??? 250
+<<< 250 OK id=10HmbB-0005vi-00
+>>> quit
+??? 221
+<<< 221 the.local.host.name closing connection
+End of script