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