tests: Corrected the SMTP tests to be RFC2821 compliant

The emails that are sent to the server during these tests were
incorrectly formatted as they contained one or more LF terminated lines
rather than being CRLF terminated as per Section 2.3.7 of RFC-2821.

This wasn't a problem for the test suite as the <stdin> data matched the
<upload> data but anyone using these tests as reference would be sending
incorrect data to a server.
This commit is contained in:
Steve Holme
2013-04-28 16:12:40 +01:00
parent 9ea5145952
commit f317ffb7bb
9 changed files with 44 additions and 44 deletions

View File

@@ -28,7 +28,7 @@ smtp
SMTP login authentication
</name>
<stdin>
mail body
mail body
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@from -u test:1234 -T -
@@ -49,7 +49,7 @@ DATA
QUIT
</protocol>
<upload>
mail body
mail body
.
</upload>