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/test932 | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 tests/data/test932 (limited to 'tests/data/test932') diff --git a/tests/data/test932 b/tests/data/test932 new file mode 100644 index 000000000..73afbfcfa --- /dev/null +++ b/tests/data/test932 @@ -0,0 +1,52 @@ + + + +SMTP +SMTP AUTH CRAM-MD5 +RFC2195 +RFC4954 + + + +# +# Server-side + + +AUTH CRAM-MD5 +REPLY AUTH 334 Rubbish +REPLY * 501 AUTH exchange cancelled by client + + + +# +# Client-side + + +smtp + + +crypto + + +SMTP CRAM-MD5 graceful cancellation + + +smtp://%HOSTIP:%SMTPPORT/932 --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 932 +AUTH CRAM-MD5 +* +QUIT + + + -- cgit v1.2.3