mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -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>
|