[Imap-protocol] Gmail LIST-EXTENDED bug
Michael M Slusarz <[email protected]> Thu, 23 Jul 2015 13:04:30 -0600
| Newsgroups | gmane.mail.imap.general |
|---|---|
| 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 [email protected] 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 _______________________________________________ Imap-protocol mailing list [email protected] http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol