summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-05-22 22:32:43 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-05-24 20:25:15 +0100
commit05392bbc11cd269cbf23f0f1e39023ba84787cf2 (patch)
tree892695c075156e97a395e1273572f391bb1b5ffb /test
parentba59b14d895cc44ddb548eb1f70f75377655b638 (diff)
Fix crash in VRFY handling for an unqualified name. Bug 1836
Introduced-by: 4f6ae5c314e5
Diffstat (limited to 'test')
-rw-r--r--test/scripts/0000-Basic/00412
-rw-r--r--test/stdout/00412
2 files changed, 4 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0041 b/test/scripts/0000-Basic/0041
index 3495375cb..0f8cdb3b5 100644
--- a/test/scripts/0000-Basic/0041
+++ b/test/scripts/0000-Basic/0041
@@ -2,6 +2,8 @@
exim -bh 1.1.1.1
vrfy userx@test.ex
vrfy hardfail@test.ex
+vrfy unqual
+vrfy
expn postmaster
quit
****
diff --git a/test/stdout/0041 b/test/stdout/0041
index b88c93ac7..6b22865b0 100644
--- a/test/stdout/0041
+++ b/test/stdout/0041
@@ -6,6 +6,8 @@
220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
252 Administrative prohibition
599 custom reject
+501 unqual: recipient address must contain a domain
+501 empty address
550 Administrative prohibition
221 the.local.host.name closing connection