2014-12-28 20:12:09 +08:00
|
|
|
<testcase>
|
|
|
|
# Based off test 901 after bug report #1456
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<tool>
|
|
|
|
lib1520
|
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
SMTP with CRLF-dot-CRLF in data
|
|
|
|
</name>
|
|
|
|
<stdin>
|
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
|
|
|
|
.
|
|
|
|
.
|
|
|
|
|
|
|
|
.
|
|
|
|
|
|
|
|
body
|
|
|
|
</stdin>
|
|
|
|
<command>
|
|
|
|
smtp://%HOSTIP:%SMTPPORT/1520
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
EHLO 1520
|
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient@example.com>
|
|
|
|
DATA
|
2014-12-28 21:01:11 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2014-12-28 20:12:09 +08:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
|
|
|
|
..
|
|
|
|
..
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
body
|
2014-12-28 21:01:11 +08:00
|
|
|
.
|
|
|
|
</upload>
|
2014-12-28 20:12:09 +08:00
|
|
|
</verify>
|
|
|
|
</testcase>
|