Roundcube Community Forum

 

Two Inbox fodlers displayed

Started by Podraig, August 04, 2011, 02:39:16 AM

Previous topic - Next topic

Podraig

Hi All

I have roundcube connecting to a WGM server.

I have two Inbox folders being diplayed in both the main view, and in the Manage Folders

One shows as "Inbox", with the inbox icon
The other shows also as "Inbox", but with the blue folder icon.

My IMAP server returns the following folowing folder list:

a10 OK LIST completed
a11 list "" "*"
* LIST () "/" "Inbox"
* LIST () "/" "Deleted Items
* LIST () "/" "Drafts"
* LIST () "/" "Junk E-mail"
* LIST () "/" "Sent Items"

My "default_imap_folders" is, well, default.
I have tried lower case and upper case, no difference.

I have no issue on my other domain, which is hmail:
a03 list "" "*"
* LIST (\HasNoChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "Drafts"
* LIST (\HasNoChildren) "." "Sent Items"
* LIST (\HasNoChildren) "." "Junk e-mail"
* LIST (\HasNoChildren) "." "Deleted Items"
* LIST (\HasNoChildren) "." "Trash"
* LIST (\HasNoChildren) "." "Sent"
* LIST (\HasNoChildren) "." "Junk"

Cheers!

(Ubuntu 64, Server Natty)

Podraig

No ideas?? Anyone?? :)

Roundcube perhaps is just a no go with WorkGroupMail?

JohnDoh

are you using caching? if so then clear that and also check your imap subscriptions file on your server and make sure inbox isnt in there twice.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

alec

Please, check with this patch. If it helps then open a ticket in trac.

--- rcube_imap_generic.php      (wersja 5120)
+++ rcube_imap_generic.php      (kopia robocza)
@@ -2189,6 +2189,11 @@
                 if ($cmd == 'LIST' || $cmd == 'LSUB') {
                     list($opts, $delim, $mailbox) = $this->tokenizeResponse($response, 3);
 
+                    // some servers return INBOX as Inbox, convert to upper-case
+                    if (strcasecmp('INBOX', $mailbox) === 0) {
+                        $mailbox = 'INBOX';
+                    }
+
                     // Add to result array
                     if (!$lstatus) {
                         $folders[] = $mailbox;