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