From f9b691cdb0336438f4e2775fa911c1075f9a0dad Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 27 Apr 2013 13:04:02 +0100 Subject: tests: Added SMTP AUTH with initial response tests --- tests/data/test908 | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/data/test908 (limited to 'tests/data/test908') diff --git a/tests/data/test908 b/tests/data/test908 new file mode 100644 index 000000000..8f3824d2f --- /dev/null +++ b/tests/data/test908 @@ -0,0 +1,55 @@ + + + +SMTP +SMTP AUTH LOGIN SASL-IR +RFC4954 + + + +# +# Server-side + + +REPLY EHLO 250 AUTH LOGIN +REPLY AUTH 334 UGFzc3dvcmQ6 +REPLY MTIzNA== 235 Authenticated + + + +# +# Client-side + + +smtp + + +SMTP login authentication with initial response + + +mail body + + +smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 908@foo --mail-from 908@from -u test:1234 -T --sasl-ir - + + + +# +# Verify data after the test has been "shot" + + +EHLO user +AUTH LOGIN dGVzdA== +MTIzNA== +MAIL FROM:<908@from> +RCPT TO:<908@foo> +DATA +QUIT + + +mail body + +. + + + -- cgit v1.2.3