66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
MBOX-Line: From gds at chartertn.net Wed Jul 12 16:14:21 2017
|
|
To: imap-protocol@u.washington.edu
|
|
From: Gene Smith <gds@chartertn.net>
|
|
Date: Fri Jun 8 12:34:55 2018
|
|
Subject: [Imap-protocol] LSUB server bug or not a bug?
|
|
Message-ID: <b24db758-00b8-a80a-1e5c-58b831f1451c@chartertn.net>
|
|
|
|
I see this when I send client command LIST with telnet:
|
|
|
|
3 list "" "/*"
|
|
* LIST () "/" "/SUSPECTED SPAM"
|
|
3 OK LIST completed
|
|
|
|
When I do LSUB with the same parameters I see this:
|
|
|
|
3 lsub "" "/*"
|
|
* LSUB () "/" "Trash"
|
|
* LSUB () "/" "Inbox"
|
|
* LSUB () "/" "&BCcENQRABD0EPgQyBDgEOgQ4-"
|
|
* LSUB () "/" "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-"
|
|
* LSUB () "/" "/SUSPECTED SPAM"
|
|
* LSUB () "/" "Junk E-Mail"
|
|
* LSUB () "/" "Junk"
|
|
* LSUB () "/" "&BCMENAQwBDsENQQ9BD0ESwQ1-ZZZ"
|
|
* LSUB () "/" "SUSPECTED HAM"
|
|
* LSUB () "/" "INBOX/Testing"
|
|
* LSUB () "/" "gds"
|
|
* LSUB () "/" "gds/eds"
|
|
* LSUB () "/" "gds/sdg"
|
|
3 OK LSUB completed
|
|
|
|
I expected to see only /SUSPECTED SPAM in the lsub response just like
|
|
list returns instead of all the mailboxes.
|
|
|
|
However, if I do this:
|
|
|
|
3 OK LIST completed
|
|
3 lsub "" "//*"
|
|
* LSUB () "/" "/SUSPECTED SPAM"
|
|
3 OK LSUB completed
|
|
|
|
I see only the /SUSPECTED SPAM now.
|
|
|
|
Why are two slashes required for lsub but not for list?
|
|
|
|
The "/SUSPECTED SPAM" mailbox, I am told, is configured as a public
|
|
folder in the MDaemon IMAP server. I don't have direct access to the
|
|
server and don't know why the name starts with a slash.
|
|
|
|
Additional info: The namespace command reports as follows:
|
|
|
|
3 namespace
|
|
* NAMESPACE (("" "/")) NIL (("/" "/"))
|
|
3 OK NAMESPACE completed
|
|
|
|
Note also that the unreadable mailbox names are Russian encodings.
|
|
|
|
Thanks,
|
|
-gene
|
|
|
|
|
|
|
|
|
|
|
|
|