Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test926
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 VRFY
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <servercmd>
13 REPLY VRFY 550 Unknown user\r
14 </servercmd>
15 </reply>
16
17 #
18 # Client-side
19 <client>
20 <server>
21 smtp
22 </server>
23  <name>
24 SMTP unknown user VRFY
25  </name>
26  <command>
27 smtp://%HOSTIP:%SMTPPORT/926 --mail-rcpt recipient
28 </command>
29 </client>
30
31 #
32 # Verify data after the test has been "shot"
33 <verify>
34 # 56 - CURLE_RECV_ERROR
35 <errorcode>
36 56
37 </errorcode>
38 <protocol>
39 EHLO 926\r
40 VRFY recipient\r
41 QUIT\r
42 </protocol>
43 </verify>
44 </testcase>