MBOX-Line: From brong at fastmail.fm  Tue Apr 30 18:20:10 2013
To: imap-protocol@u.washington.edu
From: Bron Gondwana <brong@fastmail.fm>
Date: Fri Jun  8 12:34:50 2018
Subject: [Imap-protocol] Unsure paternity
In-Reply-To: <5180559B.4010000@gmail.com>
References: <5180559B.4010000@gmail.com>
Message-ID: <1367371210.5033.140661224967997.4E7EBBE1@webmail.messagingengine.com>



On Wed, May 1, 2013, at 09:36 AM, David Barchiesi wrote:
> I was analyzing the response produced by LISTing Gmails mailboxes and 
> came across something similiar:
> 
> * LIST (\HasChildren \HasNoChildren \Trash) "/" "[Gmail]/Trash"
> 
> According to RFC 3348 [1]:
> "It is an error for the server to return both a \HasChildren and a 
> \HasNoChildren attribute in a LIST response. ".
> Could anyone explain what is going on here?

Well, a bug obviously.  It's not just you either, here's my gmail account
complete LIST response (XLIST is identical, and LIST-EXTENDED doesn't seem
to be supported at all)

. list "" *
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\HasNoChildren) "/" "Personal"
* LIST (\HasNoChildren) "/" "Receipts"
* LIST (\HasNoChildren) "/" "Travel"
* LIST (\HasNoChildren) "/" "Work"
* LIST (\Noselect \HasChildren) "/" "[Gmail]"
* LIST (\HasChildren \HasNoChildren \All) "/" "[Gmail]/All Mail"
* LIST (\HasNoChildren \Drafts) "/" "[Gmail]/Drafts"
* LIST (\HasChildren \HasNoChildren \Important) "/" "[Gmail]/Important"
* LIST (\HasChildren \HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
* LIST (\HasChildren \HasNoChildren \Junk) "/" "[Gmail]/Spam"
* LIST (\HasChildren \HasNoChildren \Flagged) "/" "[Gmail]/Starred"
* LIST (\HasChildren \HasNoChildren \Trash) "/" "[Gmail]/Trash"
. OK Success

Brandon - any idea when this crept in?  I haven't played with gmail's IMAP
for a while, but I don't remember seeing it before.

Bron.
-- 
  Bron Gondwana
  brong@fastmail.fm


