• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15</servercmd>
16</reply>
17
18#
19# Client-side
20<client>
21<server>
22smtp
23</server>
24 <name>
25RFC821-only SMTP server (EHLO not supported)
26 </name>
27<stdin>
28From: different
29To: another
30
31body
32</stdin>
33 <command>
34smtp://%HOSTIP:%SMTPPORT/902 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
35</command>
36</client>
37
38#
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42EHLO 902
43HELO 902
44MAIL FROM:<sender@example.com>
45RCPT TO:<recipient@example.com>
46DATA
47QUIT
48</protocol>
49<upload>
50From: different
51To: another
52
53body
54.
55</upload>
56</verify>
57</testcase>
58