2009-12-29 22:28:53 +01: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>
|
2009-12-30 23:50:42 +01:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-from 802@from -T -
|
2009-12-29 22:28:53 +01:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
|
|
|
MAIL FROM:802@from
|
|
|
|
RCPT TO:802@foo
|
|
|
|
DATA
|
2009-12-30 22:52:27 +01:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2009-12-29 22:28:53 +01:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2009-12-30 22:52:27 +01:00
|
|
|
|
|
|
|
.
|
|
|
|
</upload>
|
2009-12-29 22:28:53 +01:00
|
|
|
</verify>
|
|
|
|
</testcase>
|