1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6SELECT
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14body
15
16--
17  yours sincerely
18</data>
19</reply>
20
21#
22# Client-side
23<client>
24<server>
25imap
26</server>
27 <name>
28IMAP doesn't perform SELECT if re-using the same mailbox
29 </name>
30 <command>
31'imap://%HOSTIP:%IMAPPORT/804/;MAILINDEX=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/804/;MAILINDEX=456/;SECTION=2.3' -u user:secret
32</command>
33</client>
34
35#
36# Verify data after the test has been "shot"
37<verify>
38<protocol>
39A001 CAPABILITY
40A002 LOGIN user secret
41A003 SELECT 804
42A004 FETCH 123 BODY[1]
43A005 FETCH 456 BODY[2.3]
44A006 LOGOUT
45</protocol>
46</verify>
47</testcase>
48