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