summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/confs/054926
-rw-r--r--test/log/05491
-rw-r--r--test/scripts/0000-Basic/054925
-rw-r--r--test/stdout/054930
4 files changed, 82 insertions, 0 deletions
diff --git a/test/confs/0549 b/test/confs/0549
new file mode 100644
index 000000000..280d4d06c
--- /dev/null
+++ b/test/confs/0549
@@ -0,0 +1,26 @@
+# Exim test configuration 0549
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+primary_hostname = myhost.test.ex
+rfc1413_query_timeout = 0s
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+
+# ----- Main settings -----
+
+acl_smtp_connect = check_connect
+
+
+# ----- ACL -----
+
+begin ACL
+
+check_connect:
+ accept hosts = 127.0.0.1
+ control = no_pipelining
+ accept
+
+# End
diff --git a/test/log/0549 b/test/log/0549
new file mode 100644
index 000000000..dc36d2697
--- /dev/null
+++ b/test/log/0549
@@ -0,0 +1 @@
+1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225
diff --git a/test/scripts/0000-Basic/0549 b/test/scripts/0000-Basic/0549
new file mode 100644
index 000000000..574d7edf0
--- /dev/null
+++ b/test/scripts/0000-Basic/0549
@@ -0,0 +1,25 @@
+# no_pipelining
+need_ipv4
+#
+exim -DSERVER=server -bd -oX PORT_D
+****
+client 127.0.0.1 PORT_D
+??? 220
+ehlo abcd
+??? 250-
+??? 250-
+??? 250
+quit
+??? 221
+****
+client HOSTIPV4 PORT_D
+??? 220
+ehlo abcd
+??? 250-
+??? 250-
+??? 250-
+??? 250
+quit
+??? 221
+****
+killdaemon
diff --git a/test/stdout/0549 b/test/stdout/0549
new file mode 100644
index 000000000..6fc4bf160
--- /dev/null
+++ b/test/stdout/0549
@@ -0,0 +1,30 @@
+Connecting to 127.0.0.1 port 1225 ... connected
+??? 220
+<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+>>> ehlo abcd
+??? 250-
+<<< 250-myhost.test.ex Hello abcd [127.0.0.1]
+??? 250-
+<<< 250-SIZE 52428800
+??? 250
+<<< 250 HELP
+>>> quit
+??? 221
+<<< 221 myhost.test.ex closing connection
+End of script
+Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
+??? 220
+<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+>>> ehlo abcd
+??? 250-
+<<< 250-myhost.test.ex Hello abcd [ip4.ip4.ip4.ip4]
+??? 250-
+<<< 250-SIZE 52428800
+??? 250-
+<<< 250-PIPELINING
+??? 250
+<<< 250 HELP
+>>> quit
+??? 221
+<<< 221 myhost.test.ex closing connection
+End of script