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

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Aug 20 08:41:23 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-20 08:41) 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.

But instead of this, the server returns ONLY subscribed folders.

It seems that Cyrus-imapd .2.4.17 - at least in my installation - is  
buggy here!


> This command can only be issued if the argument to  
> Horde_Imap_Client_Base#listMailboxes() is either  
> 'Horde_Imap_Client::MBOX_ALL_SUBSCRIBED' or  
> 'Horde_Imap_Client::MBOX_UNSUBSCRIBED'.

If I comment out line 1317
/usr/share/pear/Horde/Imap/Client/Socket.php
             switch ($mode) {
             case Horde_Imap_Client::MBOX_ALL_SUBSCRIBED:
             case Horde_Imap_Client::MBOX_UNSUBSCRIBED:
                 # $return_opts->add('SUBSCRIBED');

it shows all the folders ->

C: 3 LIST () "" (INBOX INBOX.* user.* *)

So maybe this would be a workaround for me.

> This can only happen if the argument to IMP_Ftree_Account_Imap  
> includes the 'UNSUB' mask argument.  This argument can only occur in  
> one of three situations that I can see:
>
> 1. Subscriptions are disabled (prefs 'subscribe' value)

Yes, $this->subscriptions is false -> mask gets 'UNSUB'

Ok, I'll dig into Cyrus-imapd then ...

Thanks,
Frank






More information about the bugs mailing list