From ed9a4b9fc46f967da9e6a355f860f2a43505f41b Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Tue, 27 Jan 2015 18:03:56 +0100 Subject: test: add test cases for sasl external authentication (imap/pop3/smtp). --- tests/data/test953 | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/data/test953 (limited to 'tests/data/test953') diff --git a/tests/data/test953 b/tests/data/test953 new file mode 100644 index 000000000..94db3aaae --- /dev/null +++ b/tests/data/test953 @@ -0,0 +1,55 @@ + + + +SMTP +SASL +SASL AUTH EXTERNAL +SASL-IR +RFC4422 +RFC4954 + + + +# +# Server-side + + +AUTH EXTERNAL +REPLY AUTH 235 Authenticated + + + +# +# Client-side + + +smtp + + +SMTP external authentication with initial response without credentials + + +mail body + + +'smtp://;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/953' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T - + + + +# +# Verify data after the test has been "shot" + + +EHLO 953 +AUTH EXTERNAL = +MAIL FROM: +RCPT TO: +DATA +QUIT + + +mail body +. + + + -- cgit v1.2.3