2009-12-30 16:52:27 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP with CRLF-dot-CRLF in data
|
|
|
|
</name>
|
|
|
|
<stdin>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
2009-12-30 16:52:27 -05:00
|
|
|
|
|
|
|
.
|
|
|
|
.
|
|
|
|
|
|
|
|
.
|
2013-04-28 11:12:40 -04:00
|
|
|
|
|
|
|
body
|
2009-12-30 16:52:27 -05:00
|
|
|
</stdin>
|
|
|
|
<command>
|
2013-03-10 15:55:22 -04:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 901@foo --mail-from '<901@from>' -T -
|
2009-12-30 16:52:27 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO user
|
2013-03-10 15:55:22 -04:00
|
|
|
MAIL FROM:<901@from>
|
|
|
|
RCPT TO:<901@foo>
|
2009-12-30 16:52:27 -05:00
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
2009-12-30 16:52:27 -05:00
|
|
|
|
|
|
|
..
|
|
|
|
..
|
|
|
|
|
|
|
|
..
|
2013-04-28 11:12:40 -04:00
|
|
|
|
|
|
|
body
|
2009-12-30 16:52:27 -05:00
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|