tests: Added SMTP VRFY command tests

This commit is contained in:
Steve Holme
2013-11-16 12:00:30 +00:00
parent 0cbfe5a7d5
commit 3d50e91aee
5 changed files with 160 additions and 1 deletions

38
tests/data/test925 Normal file
View File

@@ -0,0 +1,38 @@
<testcase>
<info>
<keywords>
SMTP
VRFY
</keywords>
</info>
#
# Server-side
<reply>
252 Send some mail and I'll try my best
</reply>
#
# Client-side
<client>
<server>
smtp
</server>
<name>
SMTP external VRFY
</name>
<command>
smtp://%HOSTIP:%SMTPPORT/925 --mail-rcpt user@example.net
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
EHLO 925
VRFY user@example.net
QUIT
</protocol>
</verify>
</testcase>