wasm-demo/demo/ermis-f/imap-protocol/cur/1600095104.22893.mbox:2,S

37 lines
1.2 KiB
Plaintext

MBOX-Line: From dkarp at zimbra.com Wed Oct 24 11:33:50 2007
To: imap-protocol@u.washington.edu
From: Dan Karp <dkarp@zimbra.com>
Date: Fri Jun 8 12:34:40 2018
Subject: [Imap-protocol] STATUS on a \NoSelect mailbox
In-Reply-To: <32551.1193249693.354094@peirce.dave.cridland.net>
Message-ID: <974430145.173071193250830003.JavaMail.root@dogfood.zimbra.com>
> I'm in agreement with Mark, but I would point out that in this case,
> GMail is behaving badly:
>
> > A3 LIST "" "*"
> > * LIST () "/" "INBOX"
> > * LIST () "/" "Trash"
> > * LIST (\Noselect) "/" "[Gmail]"
> > * LIST () "/" "[Gmail]/All Mail"
> > * LIST () "/" "[Gmail]/Drafts"
> > * LIST () "/" "[Gmail]/Sent Mail"
> > * LIST () "/" "[Gmail]/Spam"
> > * LIST () "/" "[Gmail]/Starred"
> > * LIST () "/" "[Gmail]/Trash"
> > A3 OK Success
>
> That [Gmail] heirarchy point shouldn't be listed here - as Mark says,
> it's not a mailbox, therefore shouldn't match.
>
> It should be returned for LIST "" "%", but not LIST "" "*".
Why? RFC 3501 section 6.3.4 has the following example:
Examples: C: A682 LIST "" *
S: * LIST () "/" blurdybloop
S: * LIST (\Noselect) "/" foo
S: * LIST () "/" foo/bar