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

51 lines
1.8 KiB
Plaintext

MBOX-Line: From slusarz at curecanti.org Thu Jul 23 12:04:30 2015
To: imap-protocol@u.washington.edu
From: Michael M Slusarz <slusarz@curecanti.org>
Date: Fri Jun 8 12:34:55 2018
Subject: [Imap-protocol] Gmail LIST-EXTENDED bug
Message-ID: <20150723130430.Horde.SA97i23HR6ui9hH7OsaY6OS@bigworm.curecanti.org>
A Gmail IMAP protocol bug that was reported to me and has been verified.
Gmail supports LIST-EXTENDED, at least in the account I tested with.
However, this command fails:
* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN
X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH
UTF8=ACCEPT LIST-EXTENDED LIST-STATUS
a OK slusarz@gmail.com authenticated (Success)
b LIST () "" (*)
b BAD Could not parse command
This is a legal LIST command if LIST-EXTENDED is available, per RFC 5258:
list = "LIST" [SP list-select-opts] SP mailbox SP mbox-or-pat
[SP list-return-opts]
list-select-opts = "(" [
(*(list-select-opt SP) list-select-base-opt
*(SP list-select-opt))
/ (list-select-independent-opt
*(SP list-select-independent-opt))
] ")"
; Any number of options may be in any order.
; If a list-select-mod-opt appears, then a
; list-select-base-opt must also appear.
; This allows these:
; ()
; (REMOTE)
; (SUBSCRIBED)
; (SUBSCRIBED REMOTE)
; (SUBSCRIBED RECURSIVEMATCH)
; (SUBSCRIBED REMOTE RECURSIVEMATCH)
; But does NOT allow these:
; (RECURSIVEMATCH)
; (REMOTE RECURSIVEMATCH)
mbox-or-pat = list-mailbox / patterns
patterns = "(" list-mailbox *(SP list-mailbox) ")"
michael