2014-02-09 16:01:37 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
2014-03-30 06:40:50 -04:00
|
|
|
Clear Text
|
2014-02-09 16:01:37 -05:00
|
|
|
LSUB
|
2014-03-30 11:05:22 -04:00
|
|
|
CUSTOMREQUEST
|
2014-02-09 16:01:37 -05:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2021-03-12 11:38:26 -05:00
|
|
|
* LSUB () "/" /%TESTNUMBER/blurdybloop
|
|
|
|
* LSUB (\Noselect) "/" /%TESTNUMBER/foo
|
|
|
|
* LSUB () "/" /%TESTNUMBER/foo/bar
|
2014-02-09 16:01:37 -05:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
IMAP LSUB mailbox
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "%TESTNUMBER" *'
|
2014-02-09 16:01:37 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
2021-03-12 11:38:26 -05:00
|
|
|
A003 LSUB "%TESTNUMBER" *
|
2014-02-09 16:01:37 -05:00
|
|
|
A004 LOGOUT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|