From 973cc22529a138004b2bdf816ef3746f45f23b50 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 25 Oct 2013 19:17:15 +0100 Subject: tests: Regrouped SMTP authentication tests --- tests/data/test920 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 tests/data/test920 (limited to 'tests/data/test920') diff --git a/tests/data/test920 b/tests/data/test920 new file mode 100644 index 000000000..8502215e2 --- /dev/null +++ b/tests/data/test920 @@ -0,0 +1,54 @@ + + + +SMTP +SMTP AUTH LOGIN SASL-IR +RFC4954 + + + +# +# Server-side + + +AUTH LOGIN +REPLY AUTH 334 UGFzc3dvcmQ6 +REPLY MTIzNA== 235 Authenticated + + + +# +# Client-side + + +smtp + + +SMTP login authentication with initial response + + +mail body + + +smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 --sasl-ir -T - + + + +# +# Verify data after the test has been "shot" + + +EHLO 920 +AUTH LOGIN dGVzdA== +MTIzNA== +MAIL FROM: +RCPT TO: +DATA +QUIT + + +mail body +. + + + -- cgit v1.2.3