mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 15:35:03 -05:00
44 lines
549 B
Plaintext
44 lines
549 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
SMTP
|
||
|
VRFY
|
||
|
--request
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data>
|
||
|
250 <recipient@example.com>
|
||
|
</data>
|
||
|
</reply>
|
||
|
|
||
|
#
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
smtp
|
||
|
</server>
|
||
|
<name>
|
||
|
SMTP VRFY with custom request
|
||
|
</name>
|
||
|
|
||
|
# the custom request just does it lowercase to remain the same command
|
||
|
<command>
|
||
|
smtp://%HOSTIP:%SMTPPORT/950 --mail-rcpt recipient --request "vrfy"
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
EHLO 950
|
||
|
vrfy recipient
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|