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>
|
2013-04-28 17:12:40 +02:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2009-12-29 22:28:53 +01:00
|
|
|
</stdin>
|
|
|
|
<command>
|
2013-09-22 16:14:26 +02:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@example.com --mail-from 900@example.com -T -
|
2009-12-29 22:28:53 +01:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
2013-09-19 08:19:25 +02:00
|
|
|
MAIL FROM:<900@example.com>
|
2013-09-22 16:14:26 +02:00
|
|
|
RCPT TO:<900@example.com>
|
2009-12-29 22:28:53 +01:00
|
|
|
DATA
|
2009-12-30 22:52:27 +01:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-04-28 17:12:40 +02: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>
|