Git init
[external/curl.git] / tests / data / test804
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 SMTP HELO
6 RFC821
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 <servercmd>
14 REPLY EHLO 500 Command unrecognized
15 REPLY HELO 250 Already old but still servicing...
16 </servercmd>
17 </reply>
18
19 #
20 # Client-side
21 <client>
22 <server>
23 smtp
24 </server>
25  <name>
26 RFC821-only SMTP server (EHLO not supported)
27  </name>
28 <stdin>
29 From: different
30 To: another
31
32 body
33 </stdin>
34  <command>
35 smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
36 </command>
37 </client>
38
39 #
40 # Verify data after the test has been "shot"
41 <verify>
42 <protocol>
43 EHLO user\r
44 HELO user\r
45 MAIL FROM:804@from\r
46 RCPT TO:<804@foo>\r
47 DATA\r
48 QUIT\r
49 </protocol>
50 <upload>
51 From: different
52 To: another
53
54 body
55 \r
56 .\r
57 </upload>
58 </verify>
59 </testcase>