aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test926
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-16 12:00:30 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-16 12:20:22 +0000
commit3d50e91aeef8cc7c67b13d712f3e77c6a0c83569 (patch)
tree4c50a26b067db7692fb1280ec3e990a986b9d8b2 /tests/data/test926
parent0cbfe5a7d58ba44f05ad5c982b2e5a6d5babff49 (diff)
tests: Added SMTP VRFY command tests
Diffstat (limited to 'tests/data/test926')
-rw-r--r--tests/data/test92642
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/test926 b/tests/data/test926
new file mode 100644
index 000000000..1e408949a
--- /dev/null
+++ b/tests/data/test926
@@ -0,0 +1,42 @@
+<testcase>
+<info>
+<keywords>
+SMTP
+VRFY
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+550 Unknown user
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+ <name>
+SMTP unknown user VRFY
+ </name>
+ <command>
+smtp://%HOSTIP:%SMTPPORT/926 --mail-rcpt recipient
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+# 56 - CURLE_RECV_ERROR
+<errorcode>
+56
+</errorcode>
+<protocol>
+EHLO 926
+VRFY recipient
+QUIT
+</protocol>
+</verify>
+</testcase>