• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4IMAP
5SASL
6SASL AUTH CRAM-MD5
7SASL CANCELLATION
8RFC2195
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<servercmd>
16AUTH CRAM-MD5
17CAPA LOGINDISABLED
18REPLY AUTHENTICATE + Rubbish
19REPLY * A002 NO AUTH exchange cancelled by client
20</servercmd>
21</reply>
22
23#
24# Client-side
25<client>
26<server>
27imap
28</server>
29<features>
30crypto
31</features>
32 <name>
33IMAP CRAM-MD5 graceful cancellation
34 </name>
35 <command>
36'imap://%HOSTIP:%IMAPPORT/830/;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 CRAM-MD5
53*
54</protocol>
55</verify>
56</testcase>
57