Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test846
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 </keywords>
6 </info>
7
8 #
9 # Server-side
10 <reply>
11 <servercmd>
12 REPLY welcome * PREAUTH ready to serve already!
13 REPLY CAPABILITY * CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS STARTTLS LOGINDISABLED\r\nA001 OK CAPABILITY completed
14 </servercmd>
15 <data>
16 From: me@somewhere
17 To: fake@nowhere
18
19 body
20
21 --
22   yours sincerely
23 </data>
24 </reply>
25
26 #
27 # Client-side
28 <client>
29 <server>
30 imap
31 </server>
32  <name>
33 IMAP PREAUTH response
34  </name>
35  <command>
36 'imap://%HOSTIP:%IMAPPORT/846/;UID=1' -u notused:still-provided
37 </command>
38 </client>
39
40 #
41 # Verify data after the test has been "shot"
42 <verify>
43 <protocol>
44 A001 CAPABILITY
45 A002 SELECT 846
46 A003 FETCH 1 BODY[]
47 A004 LOGOUT
48 </protocol>
49 </verify>
50 </testcase>