2013-09-20 01:14:02 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
2014-03-30 23:05:22 +08:00
|
|
|
SIZE
|
2013-09-20 01:14:02 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
CAPA "SIZE 32"
|
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
2013-09-20 03:13:08 +08:00
|
|
|
SMTP with large message SIZE
|
2013-09-20 01:14:02 +08:00
|
|
|
</name>
|
|
|
|
<file name="log/test913.eml">
|
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
|
|
|
</file>
|
|
|
|
<command>
|
2013-09-29 23:48:02 +08:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/913 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test913.eml
|
2013-09-20 01:14:02 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2013-11-24 20:33:21 +08:00
|
|
|
# 55 - CURLE_SEND_ERROR
|
2013-09-20 01:14:02 +08:00
|
|
|
<errorcode>
|
|
|
|
55
|
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
2013-09-29 16:53:49 +08:00
|
|
|
EHLO 913
|
2013-09-29 23:48:02 +08:00
|
|
|
MAIL FROM:<sender@example.com> SIZE=38
|
2013-09-20 03:13:08 +08:00
|
|
|
QUIT
|
2013-09-20 01:14:02 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|