[Tickets #13438] Re: Doesn't show unsubscribed folders

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Aug 22 10:22:16 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/13438
------------------------------------------------------------------------------
  Ticket           | 13438
  Aktualisiert Von | frank.richter at hrz.tu-chemnitz.de
  Zusammenfassung  | Doesn't show unsubscribed folders
  Warteschlange    | IMP
  Version          | 6.2.1
  Typ              | Bug
  Status           | Duplicate
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


frank.richter at hrz.tu-chemnitz.de (2014-08-22 10:22) hat geschrieben:

>>>> C: 4 LIST () "" (INBOX INBOX.* user.* *) RETURN (SUBSCRIBED)
>>
>> If I understand RFC 5258 right, this means:
>>     List all folders returning the Subscribed status.
>
> Incorrect.  This command means "return all mailboxes that match the  
> given query (ignoring subscribed status) and provide information as  
> to which mailboxes are subscribed"

Ok, I was trying to express exactly that, sorry.

> "List all folders returning the Subscribed status" would instead  
> look something like this:
>
> C: 4 LIST (SUBSCRIBED) "" (INBOX INBOX.* user.* *)
>
>> But instead of this, the server returns ONLY subscribed folders.
>
> If that is truly what you are seeing with your installation, then  
> yes - it is buggy.

It's buggy in a Cyrus-murder environment (frontend/backend servers),
I got this answer from <brong at fastmail.fm> on info-cyrus mailing list:

    Yes, it's a bug :(  List code is hairy, and a couple of the edge  
cases are wrong.
     I recommend just turning off LIST-EXTENDED with:
     suppress_capabilities: LIST-EXTENDED

See http://comments.gmane.org/gmane.mail.imap.cyrus/38001

With  suppress_capabilities: LIST-EXTENDED IMP works with LSUB and  
simple LIST commands,
and shows all folders. So this workaround works.

> Except a problem I still have is that the former LIST command is  
> what IMP will issue when it is displaying ALL mailboxes.  (Whether  
> cyrus is buggy is a separate issue.)  If IMP is instead configured  
> to display only subscribed mailboxes, you should be seeing these  
> kind of queries instead:
>
> C: 4 LIST "" INBOX RETURN (SUBSCRIBED)
> C: 3 LIST (SUBSCRIBED) "" (INBOX.* user.* *) RETURN (SUBSCRIBED)

Exactly this is the case when preference subscribe = 1
and cyrus-imapd replies correctly here.

My question was with subscribe = 0 -> Doesn't show unsubscribed folders

So, IMP is fine, cyrus-imapd in a murder environment is buggy.
Workaround for cyrus-imapd as described above

Question for you: Will you provide a workround for this cyrus-imapd  
bug in IMP,
e.g. not asking
   LIST () "" (INBOX INBOX.* user.* *) RETURN (SUBSCRIBED)
but intead just
   LIST () "" (INBOX INBOX.* user.* *)


Thanks,
Frank






More information about the bugs mailing list