summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/confs/054125
-rw-r--r--test/scripts/0000-Basic/05415
-rw-r--r--test/stdout/05413
3 files changed, 33 insertions, 0 deletions
diff --git a/test/confs/0541 b/test/confs/0541
new file mode 100644
index 000000000..0b3be92bf
--- /dev/null
+++ b/test/confs/0541
@@ -0,0 +1,25 @@
+# Exim test configuration 0541
+
+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_helo = check_helo
+
+
+# ----- ACLs -----
+
+begin acl
+
+check_helo:
+ require verify = helo
+ accept
+
+# End
diff --git a/test/scripts/0000-Basic/0541 b/test/scripts/0000-Basic/0541
new file mode 100644
index 000000000..0452c55c7
--- /dev/null
+++ b/test/scripts/0000-Basic/0541
@@ -0,0 +1,5 @@
+# verify=helo with no IP address
+exim -bs
+helo a.b.c.d
+quit
+****
diff --git a/test/stdout/0541 b/test/stdout/0541
new file mode 100644
index 000000000..4037cb46a
--- /dev/null
+++ b/test/stdout/0541
@@ -0,0 +1,3 @@
+220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 myhost.test.ex Hello CALLER at a.b.c.d
+221 myhost.test.ex closing connection