1<testcase>
2<info>
3<keywords>
4IMAP
5IMAP AUTH DIGEST-MD5
6SASL CANCELLATION
7RFC2831
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<servercmd>
15AUTH DIGEST-MD5
16CAPA LOGINDISABLED
17REPLY AUTHENTICATE + Rubbish
18REPLY * A002 NO AUTH exchange cancelled by client
19</servercmd>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26imap
27</server>
28<features>
29debug
30crypto
31</features>
32 <name>
33IMAP DIGEST-MD5 graceful cancellation
34 </name>
35 <command>
36'imap://%HOSTIP:%IMAPPORT/832/;UID=1' -u user:secret
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43# 67 - CURLE_LOGIN_DENIED
44<errorcode>
4567
46</errorcode>
47#
48# The multi interface considers a broken "CONNECT" as a prematurely broken
49# transfer and such a connection will not get a "LOGOUT"
50<protocol>
51A001 CAPABILITY
52A002 AUTHENTICATE DIGEST-MD5
53*
54</protocol>
55</verify>
56</testcase>
57