2010-02-22 08:57:57 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
SMTP HELO
|
|
|
|
RFC821
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
REPLY EHLO 500 Command unrecognized
|
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
RFC821-only SMTP server (EHLO not supported)
|
|
|
|
</name>
|
|
|
|
<stdin>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2010-02-22 08:57:57 -05:00
|
|
|
</stdin>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
|
2010-02-22 08:57:57 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-12 11:38:26 -05:00
|
|
|
EHLO %TESTNUMBER
|
|
|
|
HELO %TESTNUMBER
|
2013-09-29 11:48:02 -04:00
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient@example.com>
|
2010-02-22 08:57:57 -05:00
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2010-02-22 08:57:57 -05:00
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|