2013-09-20 02:09:39 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</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>
|
|
|
|
<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>
|