2009-12-29 16:28:53 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP
|
|
|
|
</name>
|
|
|
|
<stdin>
|
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
|
|
|
</stdin>
|
|
|
|
<command>
|
2010-02-12 17:23:46 -05:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example --mail-from 802@from -T -
|
2009-12-29 16:28:53 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
2010-12-22 08:53:13 -05:00
|
|
|
MAIL FROM:<802@from>
|
2010-02-20 17:29:59 -05:00
|
|
|
RCPT TO:<802@foo>
|
|
|
|
RCPT TO:<802@foobar.example>
|
2009-12-29 16:28:53 -05:00
|
|
|
DATA
|
2009-12-30 16:52:27 -05:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2009-12-29 16:28:53 -05:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2009-12-30 16:52:27 -05:00
|
|
|
|
|
|
|
.
|
|
|
|
</upload>
|
2009-12-29 16:28:53 -05:00
|
|
|
</verify>
|
|
|
|
</testcase>
|