xref: /curl/tests/data/test984 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4IMAP
5STARTTLS
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<servercmd>
13REPLY CAPABILITY A001 BAD Not implemented
14</servercmd>
15</reply>
16
17#
18# Client-side
19<client>
20<features>
21SSL
22</features>
23<server>
24imap
25</server>
26<name>
27IMAP require STARTTLS with failing capabilities
28</name>
29<command>
30imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --ssl-reqd
31</command>
32<file name="%LOGDIR/upload%TESTNUMBER">
33Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
34From: Fred Foobar <foobar@example.COM>
35Subject: afternoon meeting
36To: joe@example.com
37Message-Id: <B27397-0100000@example.COM>
38MIME-Version: 1.0
39Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
40
41Hello Joe, do you think we can meet at 3:30 tomorrow?
42</file>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48# 64 is CURLE_USE_SSL_FAILED
49<errorcode>
5064
51</errorcode>
52<protocol>
53A001 CAPABILITY
54</protocol>
55</verify>
56</testcase>
57