From f317ffb7bbd18428ab3275ac47bf82f146f6c066 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 28 Apr 2013 16:12:40 +0100 Subject: 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 data matched the data but anyone using these tests as reference would be sending incorrect data to a server. --- tests/data/test906 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/data/test906') diff --git a/tests/data/test906 b/tests/data/test906 index da196009e..80c1e7ee6 100644 --- a/tests/data/test906 +++ b/tests/data/test906 @@ -20,10 +20,10 @@ smtp SMTP without --mail-from -From: different -To: another - -body +From: different +To: another + +body smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 906@foo -T - @@ -41,10 +41,10 @@ DATA QUIT -From: different -To: another - -body +From: different +To: another + +body . -- cgit v1.2.3