diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-10-23 10:55:10 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-10-23 10:55:10 +0000 |
commit | d1d5595ca2487d927c857a01dcbfe0beab5c8f3d (patch) | |
tree | f3b8769e3de1604d8f7ee1bc683f3dba60486a23 /test | |
parent | b6c27e28de0ec8a98335e6c5c07aa10a703948b0 (diff) |
Fix crash for verify=helo when no IP address (-bs).
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/0541 | 25 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0541 | 5 | ||||
-rw-r--r-- | test/stdout/0541 | 3 |
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
|