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