Bug 358898 - Openwave Messaging Email Mx: invalid STATUS response: spaces are not escaped
Summary: Openwave Messaging Email Mx: invalid STATUS response: spaces are not escaped
Status: RESOLVED INTENTIONAL
Alias: None
Product: trojita
Classification: Applications
Component: IMAP (other bugs)
Version First Reported In: 0.5
Platform: Fedora RPMs Linux
: NOR grave
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-01 23:22 UTC by Fred Wells
Modified: 2016-06-23 12:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Wells 2016-02-01 23:22:55 UTC
Get the following error when trying to connect to my mobile.charter.net IMAP server.

17:12:53.797 UnexpectedHere Could not parse list: expected a list enclosed in (), but got something else instead␊* STATUS Junk Mail (MESSAGES 0 RECENT 0 UNSEEN 0)␍␊␊              ^ here

Reproducible: Always

Steps to Reproduce:
1.  Open trojita
2.  Observer error upon connection to IMAP host.

Actual Results:  
From the IMAP Protocol log...

17:20:01.513 UnexpectedHere Could not parse list: expected a list enclosed in (), but got something else instead␊* STATUS Junk Mail (MESSAGES 0 RECENT 0 UNSEEN 0)␍␊␊              ^ here
17:20:01.513 Imap::Mailbox::NumberOfMessagesTask attached to Junk Mail Failed: Going offline
17:20:01.513 Imap::Mailbox::NumberOfMessagesTask attached to Sent Failed: Going offline
17:20:01.513 Imap::Mailbox::NumberOfMessagesTask attached to SentMail Failed: Going offline
17:20:01.513 Imap::Mailbox::NumberOfMessagesTask attached to Spam Failed: Going offline
17:20:01.513 Imap::Mailbox::NumberOfMessagesTask attached to Trash Failed: Going offline
17:20:01.513 Imap::Mailbox::NumberOfMessagesTask attached to Unwanted Failed: Going offline
17:20:01.513 conn Logged out.
17:20:01.515 *** Connection killed.
Comment 1 Jan Kundrát 2016-02-01 23:45:28 UTC
Unfortunately, this is a bug in the IMAP server (which is reported as Openwave Messaging, Email Mx, version M.9.00.021.00 201-2473-182).

The IMAP server violates formal protocol syntax of the IMAP protocol by sending the mailbox name through the "atom" production even though it contains a space. Such names must be transmitted either via the "quoted" or through the "literal" productions -- see https://tools.ietf.org/html/rfc3501#section-9 for details.

Could you please file a ticket at your IMAP server vendor with a reference to this bugreport?