1<testcase>
2<info>
3<keywords>
4SMTP
5SMTP HELO
6RFC821
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<servercmd>
14REPLY EHLO 500 Command unrecognized
15REPLY HELO 250 Already old but still servicing...
16</servercmd>
17</reply>
18
19#
20# Client-side
21<client>
22<server>
23smtp
24</server>
25 <name>
26RFC821-only SMTP server (EHLO not supported)
27 </name>
28<stdin>
29From: different
30To: another
31
32body
33</stdin>
34 <command>
35smtp://%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>
43EHLO user
44HELO user
45MAIL FROM:<804@from>
46RCPT TO:<804@foo>
47DATA
48QUIT
49</protocol>
50<upload>
51From: different
52To: another
53
54body
55
56.
57</upload>
58</verify>
59</testcase>
60