1<testcase>
2<info>
3<keywords>
4IMAP
5IMAP AUTH CRAM-MD5
6SASL CANCELLATION
7RFC2195
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<servercmd>
15AUTH CRAM-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>
29crypto
30</features>
31 <name>
32IMAP CRAM-MD5 graceful cancellation
33 </name>
34 <command>
35'imap://%HOSTIP:%IMAPPORT/830/;UID=1' -u user:secret
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42# 67 - CURLE_LOGIN_DENIED
43<errorcode>
4467
45</errorcode>
46#
47# The multi interface considers a broken "CONNECT" as a prematurely broken
48# transfer and such a connection will not get a "LOGOUT"
49<protocol>
50A001 CAPABILITY
51A002 AUTHENTICATE CRAM-MD5
52*
53</protocol>
54</verify>
55</testcase>
56