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.
SMTP
</name>
<stdin>
-From: different
-To: another
-
-body
+From: different\r
+To: another\r
+\r
+body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@foo --mail-rcpt 900@foobar.example --mail-from 900@from -T -
QUIT\r
</protocol>
<upload>
-From: different
-To: another
-
-body
+From: different\r
+To: another\r
+\r
+body\r
\r
.\r
</upload>
SMTP with CRLF-dot-CRLF in data
</name>
<stdin>
-From: different
-To: another
-
+From: different\r
+To: another\r
+\r
\r
.\r
.\r
\r
.\r
-
-body
+\r
+body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 901@foo --mail-from '<901@from>' -T -
QUIT\r
</protocol>
<upload>
-From: different
-To: another
-
+From: different\r
+To: another\r
+\r
\r
..\r
..\r
\r
..\r
-
-body
+\r
+body\r
\r
.\r
</upload>
RFC821-only SMTP server (EHLO not supported)
</name>
<stdin>
-From: different
-To: another
-
-body
+From: different\r
+To: another\r
+\r
+body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 902@foo --mail-from 902@from -T -
QUIT\r
</protocol>
<upload>
-From: different
-To: another
-
-body
+From: different\r
+To: another\r
+\r
+body\r
\r
.\r
</upload>
SMTP plain authentication
</name>
<stdin>
-mail body
+mail body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 903@foo --mail-from 903@from -u test:1234 -T -
QUIT\r
</protocol>
<upload>
-mail body
+mail body\r
\r
.\r
</upload>
SMTP login authentication
</name>
<stdin>
-mail body
+mail body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@from -u test:1234 -T -
QUIT\r
</protocol>
<upload>
-mail body
+mail body\r
\r
.\r
</upload>
SMTP CRAM-MD5 authentication
</name>
<stdin>
-mail body
+mail body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 905@foo --mail-from 905@from -u tim:tanstaaftanstaaf -T -
QUIT\r
</protocol>
<upload>
-mail body
+mail body\r
\r
.\r
</upload>
SMTP without --mail-from
</name>
<stdin>
-From: different
-To: another
-
-body
+From: different\r
+To: another\r
+\r
+body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 906@foo -T -
QUIT\r
</protocol>
<upload>
-From: different
-To: another
-
-body
+From: different\r
+To: another\r
+\r
+body\r
\r
.\r
</upload>
SMTP plain authentication with initial response
</name>
<stdin>
-mail body
+mail body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 907@foo --mail-from 907@from -u test:1234 --sasl-ir -T -
QUIT\r
</protocol>
<upload>
-mail body
+mail body\r
\r
.\r
</upload>
SMTP login authentication with initial response
</name>
<stdin>
-mail body
+mail body\r
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 908@foo --mail-from 908@from -u test:1234 --sasl-ir -T -
QUIT\r
</protocol>
<upload>
-mail body
+mail body\r
\r
.\r
</upload>