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>
|
2013-03-10 15:55:22 -04:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 902@foo --mail-from 902@from -T -
|
2010-02-22 08:57:57 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
|
|
|
HELO user
|
2013-03-10 15:55:22 -04:00
|
|
|
MAIL FROM:<902@from>
|
|
|
|
RCPT TO:<902@foo>
|
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>
|