2012-09-04 19:40:46 +02: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 19:50:00 +02:00
|
|
|
<file name="log/test909.eml">
|
2013-05-02 19:52:52 +02:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2012-09-04 19:40:46 +02:00
|
|
|
</file>
|
|
|
|
<command>
|
2013-09-22 16:14:26 +02:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 909@example.com --mail-from 909@example.com -T log/test909.eml
|
2012-09-04 19:40:46 +02:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
2013-09-19 08:19:25 +02:00
|
|
|
MAIL FROM:<909@example.com>
|
2013-09-22 16:14:26 +02:00
|
|
|
RCPT TO:<909@example.com>
|
2012-09-04 19:40:46 +02:00
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-05-02 19:52:52 +02:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2012-09-04 19:40:46 +02:00
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|