On 12/15/2010 02:31 AM, A.L.E.C wrote:
On 14.12.2010 18:28, Julien Vehent wrote:
$rcmail_config['imap_ns_personal'] = "INBOX."; $rcmail_config['imap_ns_other'] = null; $rcmail_config['imap_ns_shared'] = "shared.";
Looks good. Maybe there should be "#shared."? If cyrus does support NAMESPACE these options can be set to null (re-login required). Enable imap_debug in Roundcube and show as the log.
Hi Alec,
[15-Dec-2010 16:01:44 +0100]: C: A0003 STATUS INBOX.shared.testshared (MESSAGES UNSEEN) [15-Dec-2010 16:01:44 +0100]: S: A0003 NO Mailbox does not exist
I am not sure the $rcmail_config['imap_ns_shared'] is working properly, or maybe it doesn't detect that "shared.testshared" is a shared mailbox. I tried to set it to the following value with no success (it always look for INBOX.shared.testshared):
$rcmail_config['imap_ns_shared'] = "shared.";
$rcmail_config['imap_ns_shared'] = "#shared.";
$rcmail_config['imap_ns_shared'] = null;
On login, the CAPABILITY command returns the following:
[15-Dec-2010 16:12:20 +0100]: C: A0003 CAPABILITY [15-Dec-2010 16:12:20 +0100]: S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE LOGINDISABLED [15-Dec-2010 16:12:20 +0100]: S: A0003 OK Completed [15-Dec-2010 16:12:20 +0100]: C: A0004 LSUB "" "*" [15-Dec-2010 16:12:20 +0100]: S: * LSUB () "." "INBOX.Drafts" [15-Dec-2010 16:12:20 +0100]: S: * LSUB () "." "INBOX.Sent" [15-Dec-2010 16:12:20 +0100]: S: * LSUB () "." "INBOX.Trash" [15-Dec-2010 16:12:20 +0100]: S: * LSUB () "." "INBOX.sent-mail" [15-Dec-2010 16:12:20 +0100]: S: * LSUB () "." "shared.testshared" [15-Dec-2010 16:12:20 +0100]: S: A0004 OK Completed (0.000 secs 6 calls)
It properly lists the shared mailbox. However, it doesn't check the number of unread messages in that mailbox.
Thanks, Julien _______________________________________________ List info: http://lists.roundcube.net/users/ BT/9b404e9e