summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-07-27 11:29:32 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-07-27 11:29:32 +0000
commit084efe8d7243ef5184443e2c7075e80074476703 (patch)
tree66356b34d557beaa18fda8abad4ce3e46ae2a4c4 /test
parent9ecb03f392a171ae1f3f945e783c5d2c3b847c29 (diff)
Exim was not testing for a space following SMTP commands such as EHLO
that require one. Thus, EHLORHUBARB was interpreted as a valid command. This bug exists in every version of Exim that I still have, right back to 0.12.
Diffstat (limited to 'test')
-rw-r--r--test/scripts/0000-Basic/00894
-rw-r--r--test/stdout/00894
2 files changed, 8 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0089 b/test/scripts/0000-Basic/0089
index d7ddbd6cb..1fcd8dfdf 100644
--- a/test/scripts/0000-Basic/0089
+++ b/test/scripts/0000-Basic/0089
@@ -16,6 +16,10 @@ helo @#$%^&*()
mail from:<root>
rcpt to:<xx@reLAY.ONE.ex>
rcpt to:<yy@relay.two.ex>
+rset
+helorhubarb
+mailfrom:<>
+rsettling
quit
****
2
diff --git a/test/stdout/0089 b/test/stdout/0089
index 916f0acb5..02576912e 100644
--- a/test/stdout/0089
+++ b/test/stdout/0089
@@ -25,6 +25,10 @@ userx@myhost.test.ex
250 OK
250 Accepted
550 relay not permitted
+250 Reset OK
+500 unrecognized command
+500 unrecognized command
+500 unrecognized command
221 myhost.test.ex closing connection
abcd@test.ex
router = select, transport = dummy