2012-09-04 13:40:46 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
# the key in this response is that it doesn't include SIZE support
|
|
|
|
<servercmd>
|
|
|
|
REPLY EHLO 250 mooo
|
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP without SIZE support
|
|
|
|
</name>
|
2013-05-02 13:50:00 -04:00
|
|
|
<file name="log/test909.eml">
|
2013-05-02 13:52:52 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2012-09-04 13:40:46 -04:00
|
|
|
</file>
|
|
|
|
<command>
|
2013-09-19 02:19:25 -04:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 909@foo --mail-rcpt 909@foobar.example --mail-from 909@example.com -T log/test909.eml
|
2012-09-04 13:40:46 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
2013-09-19 02:19:25 -04:00
|
|
|
MAIL FROM:<909@example.com>
|
2013-05-02 13:50:00 -04:00
|
|
|
RCPT TO:<909@foo>
|
|
|
|
RCPT TO:<909@foobar.example>
|
2012-09-04 13:40:46 -04:00
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-05-02 13:52:52 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2012-09-04 13:40:46 -04:00
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|