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