2011-09-21 16:32:27 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP without --mail-from
|
|
|
|
</name>
|
|
|
|
<stdin>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2011-09-21 16:32:27 -04:00
|
|
|
</stdin>
|
|
|
|
<command>
|
2013-09-22 19:19:56 -04:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 915@example.com -T -
|
2011-09-21 16:32:27 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
|
|
|
MAIL FROM:<>
|
2013-09-22 19:19:56 -04:00
|
|
|
RCPT TO:<915@example.com>
|
2011-09-21 16:32:27 -04:00
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2011-09-21 16:32:27 -04:00
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|