From ef782d726e8e6f473237389066a11a908218f893 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 28 Jan 2015 19:45:54 +0000 Subject: tests: Grouped SMTP SASL EXTERNAL tests with other SMTP tests --- tests/data/test943 | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/data/test943 (limited to 'tests/data/test943') diff --git a/tests/data/test943 b/tests/data/test943 new file mode 100644 index 000000000..aef2c6228 --- /dev/null +++ b/tests/data/test943 @@ -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/943' --mail-rcpt recipient@example.com --mail-from sender@example.com -T - + + + +# +# Verify data after the test has been "shot" + + +EHLO 943 +AUTH EXTERNAL += +MAIL FROM: +RCPT TO: +DATA +QUIT + + +mail body +. + + + -- cgit v1.2.3