From 95877cf8ae5bf5fdfd184ca7170e4a967185d846 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 23 Nov 2013 15:06:31 +0000 Subject: tests: Added SMTP graceful authentication cancellation tests --- tests/data/test934 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tests/data/test934 (limited to 'tests/data/test934') diff --git a/tests/data/test934 b/tests/data/test934 new file mode 100644 index 000000000..79676f1d7 --- /dev/null +++ b/tests/data/test934 @@ -0,0 +1,53 @@ + + + +SMTP +SMTP AUTH DIGEST-MD5 +RFC2831 +RFC4954 + + + +# +# Server-side + + +AUTH DIGEST-MD5 +REPLY AUTH 334 Rubbish +REPLY * 501 AUTH exchange cancelled by client + + + +# +# Client-side + + +smtp + + +debug +crypto + + +SMTP DIGEST-MD5 graceful cancellation + + +smtp://%HOSTIP:%SMTPPORT/934 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - + + + +# +# Verify data after the test has been "shot" + +# 67 - CURLE_LOGIN_DENIED + +67 + + +EHLO 934 +AUTH DIGEST-MD5 +* +QUIT + + + -- cgit v1.2.3