2013-09-20 02:09:39 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2020-07-02 10:42:55 -04:00
|
|
|
<servercmd>
|
|
|
|
REPLY MAIL 501 not fine enough
|
|
|
|
</servercmd>
|
2013-09-20 02:09:39 -04:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP invalid --mail-from
|
|
|
|
</name>
|
|
|
|
<file name="log/test914.eml">
|
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
|
|
|
</file>
|
|
|
|
<command>
|
2013-09-29 11:48:02 -04:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/914 --mail-rcpt recipient@example.com --mail-from invalid -T log/test914.eml
|
2013-09-20 02:09:39 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2013-11-24 07:33:21 -05:00
|
|
|
# 55 - CURLE_SEND_ERROR
|
2013-09-20 02:09:39 -04:00
|
|
|
<errorcode>
|
|
|
|
55
|
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
2013-09-29 04:53:49 -04:00
|
|
|
EHLO 914
|
2013-09-20 02:09:39 -04:00
|
|
|
MAIL FROM:<invalid>
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|