MBOX-Line: From dave at cridland.net  Wed Oct 24 11:14:53 2007
To: imap-protocol@u.washington.edu
From: Dave Cridland <dave@cridland.net>
Date: Fri Jun  8 12:34:40 2018
Subject: [Imap-protocol] STATUS on a \NoSelect mailbox
In-Reply-To: <1289589251.146651193229245957.JavaMail.root@dogfood.zimbra.com>
References: <1289589251.146651193229245957.JavaMail.root@dogfood.zimbra.com>
Message-ID: <32551.1193249693.354094@peirce.dave.cridland.net>

On Wed Oct 24 13:34:05 2007, Dan Karp wrote:
> We've always gone on the assumption that you should be able to ask  
> for STATUS on any mailbox returned in a LIST response.  The new  
> Gmail IMAP implementation doesn't seem to play that way -- they  
> have a base \NoSelect mailbox that's returned from LIST but that  
> returns NO on STATUS:
> 
> 
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 "" "*".

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

