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/test950 | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/data/test950 (limited to 'tests/data/test950') diff --git a/tests/data/test950 b/tests/data/test950 new file mode 100644 index 000000000..b4dab8ae8 --- /dev/null +++ b/tests/data/test950 @@ -0,0 +1,56 @@ + + + +SMTP +SASL +SASL AUTH EXTERNAL +RFC4422 +RFC4954 + + + +# +# Server-side + + +AUTH EXTERNAL +REPLY AUTH 334 EXTERNAL supported +REPLY dXNlcg== 235 Authenticated + + + +# +# Client-side + + +smtp + + +SMTP external authentication + + +mail body + + +'smtp://user;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/950' --mail-rcpt recipient@example.com --mail-from sender@example.com -T - + + + +# +# Verify data after the test has been "shot" + + +EHLO 950 +AUTH EXTERNAL +dXNlcg== +MAIL FROM: +RCPT TO: +DATA +QUIT + + +mail body +. + + + -- cgit v1.2.3