djc / imap-proto

IMAP protocol parser and datastructures in Rust
12 stars 2 forks source link

LSUB response type not supported #4

Closed jonhoo closed 7 years ago

jonhoo commented 7 years ago

RFC 3501 defines the LSUB command (§6.3.9), and the associated LSUB response (§7.2.3, which are of identical form to LIST responses (except with s/LIST/LSUB/):

* LSUB () "." #news.comp.mail.mime

The parser currently chokes on this, as it only allows a LIST literal.

djc commented 7 years ago

Should work on master (haven't implemented support in the command builder, yet).