From dd07e79023b888a4ce56519fbf7684c651ce0d1f Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 30 Mar 2014 17:32:12 +0100 Subject: tests: Added SMTP with credentials test for RFC-821 based server Added SMTP (RFC-821 only) based test case as a reference for the fix provided by commit fe260b75e7. --- tests/data/test939 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/data/test939 (limited to 'tests/data/test939') diff --git a/tests/data/test939 b/tests/data/test939 new file mode 100644 index 000000000..34ba8a0eb --- /dev/null +++ b/tests/data/test939 @@ -0,0 +1,50 @@ + + + +SMTP +RFC821 + + + +# +# Server-side + + +REPLY EHLO 500 Command unrecognized + + + +# +# Client-side + + +smtp + + +RFC821-only SMTP with username and password + + +mail body + + +smtp://%HOSTIP:%SMTPPORT/939 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - + + + +# +# Verify data after the test has been "shot" + + +EHLO 939 +HELO 939 +MAIL FROM: +RCPT TO: +DATA +QUIT + + +mail body +. + + + -- cgit v1.2.3