Roundcube Community Forum

 

Embeded folder error

Started by umount, December 20, 2010, 03:44:45 AM

Previous topic - Next topic

umount

I have embeded folder in Inbox - Redmine.

If i want check it i have error "Mailbox does not exist, or must be subscribed to"

On hard disk this folder exist. On previos roundcube version all work perfect.
after update trunk all broken.

alec

Check imap_ns_* settings. Also enable imap_debug and show the log.

umount

Quote from: alec;31888Check imap_ns_* settings. Also enable imap_debug and show the log.

in config
$rcmail_config['imap_ns_personal'] = null;
$rcmail_config['imap_ns_other']    = null;
$rcmail_config['imap_ns_shared']   = null;


imap_log
[20-Dec-2010 14:26:33 +0300]: S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
[20-Dec-2010 14:26:33 +0300]: C: A0001 CAPABILITY
[20-Dec-2010 14:26:33 +0300]: S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION
[20-Dec-2010 14:26:33 +0300]: S: A0001 OK CAPABILITY completed
[20-Dec-2010 14:26:33 +0300]: C: A0002 AUTHENTICATE PLAIN
[20-Dec-2010 14:26:33 +0300]: S: +
[20-Dec-2010 14:26:33 +0300]: C: Mzc0NzE3NDM4MTIxQHdta2VlcGVyLmNvbQAzNzQ3MTc0MzgxMjFAd21rZWVwZXIuY29tAE0yMGdZV2RR
[20-Dec-2010 14:26:33 +0300]: S: A0002 OK LOGIN Ok.
[20-Dec-2010 14:26:33 +0300]: C: A0003 LSUB "" "*"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.INBOX.Redmine"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.&BB8EPgQ0BDQENQRABDYEOgQw- &BD8EPgRHBEIEMA-"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.&BB8EPgQ0BDQENQRABDYEOgQw-"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.&BBAEQARFBDgEMg-"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\Marked \HasChildren) "." "INBOX"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Trash"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Sent"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Drafts"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Doubt"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\Noselect \HasChildren) "." "INBOX.INBOX"
[20-Dec-2010 14:26:33 +0300]: S: A0003 OK LSUB completed
[20-Dec-2010 14:26:33 +0300]: C: A0004 GETQUOTAROOT INBOX
[20-Dec-2010 14:26:33 +0300]: S: * QUOTAROOT "INBOX" "ROOT"
[20-Dec-2010 14:26:33 +0300]: S: * QUOTA "ROOT" (STORAGE 40820 488282)
[20-Dec-2010 14:26:33 +0300]: S: A0004 OK GETQUOTAROOT Ok.
[20-Dec-2010 14:26:33 +0300]: C: A0005 LOGOUT
[20-Dec-2010 14:26:33 +0300]: S: * BYE Courier-IMAP server shutting down
[20-Dec-2010 14:26:33 +0300]: S: A0005 OK LOGOUT completed
[20-Dec-2010 14:26:33 +0300]: S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
[20-Dec-2010 14:26:33 +0300]: C: A0001 CAPABILITY
[20-Dec-2010 14:26:33 +0300]: S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION
[20-Dec-2010 14:26:33 +0300]: S: A0001 OK CAPABILITY completed
[20-Dec-2010 14:26:33 +0300]: C: A0002 AUTHENTICATE PLAIN
[20-Dec-2010 14:26:33 +0300]: S: +
[20-Dec-2010 14:26:33 +0300]: C: Mzc0NzE3NDM4MTIxQHdta2VlcGVyLmNvbQAzNzQ3MTc0MzgxMjFAd21rZWVwZXIuY29tAE0yMGdZV2RR
[20-Dec-2010 14:26:33 +0300]: S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
[20-Dec-2010 14:26:33 +0300]: C: A0001 CAPABILITY
[20-Dec-2010 14:26:33 +0300]: S: A0002 OK LOGIN Ok.
[20-Dec-2010 14:26:33 +0300]: C: A0003 STATUS INBOX.Redmine (MESSAGES UNSEEN)
[20-Dec-2010 14:26:33 +0300]: S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION
[20-Dec-2010 14:26:33 +0300]: S: A0001 OK CAPABILITY completed
[20-Dec-2010 14:26:33 +0300]: C: A0002 AUTHENTICATE PLAIN
[20-Dec-2010 14:26:33 +0300]: S: A0003 NO Mailbox does not exist, or must be subscribed to.
[20-Dec-2010 14:26:33 +0300]: S: +
[20-Dec-2010 14:26:33 +0300]: C: Mzc0NzE3NDM4MTIxQHdta2VlcGVyLmNvbQAzNzQ3MTc0MzgxMjFAd21rZWVwZXIuY29tAE0yMGdZV2RR
[20-Dec-2010 14:26:33 +0300]: C: A0004 LOGOUT
[20-Dec-2010 14:26:33 +0300]: S: * BYE Courier-IMAP server shutting down
[20-Dec-2010 14:26:33 +0300]: S: A0004 OK LOGOUT completed
[20-Dec-2010 14:26:33 +0300]: S: A0002 OK LOGIN Ok.
[20-Dec-2010 14:26:33 +0300]: C: A0003 LSUB "" "*"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.INBOX.Redmine"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.&BB8EPgQ0BDQENQRABDYEOgQw- &BD8EPgRHBEIEMA-"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.&BB8EPgQ0BDQENQRABDYEOgQw-"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.&BBAEQARFBDgEMg-"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\Marked \HasChildren) "." "INBOX"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Trash"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Sent"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Drafts"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\HasNoChildren) "." "INBOX.Doubt"
[20-Dec-2010 14:26:33 +0300]: S: * LSUB (\Noselect \HasChildren) "." "INBOX.INBOX"
[20-Dec-2010 14:26:33 +0300]: S: A0003 OK LSUB completed
[20-Dec-2010 14:26:33 +0300]: C: A0004 LOGOUT
[20-Dec-2010 14:26:33 +0300]: S: * BYE Courier-IMAP server shutting down
[20-Dec-2010 14:26:33 +0300]: S: A0004 OK LOGOUT completed

umount

on hard disk

.&BB8EPgQ0BDQENQRABDYEOgQw-
.&BB8EPgQ0BDQENQRABDYEOgQw- &BD8EPgRHBEIEMA-
.&BBAEQARFBDgEMg-
courierimaphieracl
courierimapkeywords
courierimapsubscribed
courierimapuiddb
courierpop3dsizelist
cur
.Doubt
.Drafts
.INBOX.Redmine
maildirsize
mailfilter
new
.Sent
tmp
.Trash


umount

#5
Quote from: alec;31894A bug. #1487637 (Handling of folders that doesn't belong to any namespace) ? Roundcube Webmail

It is a not bug only trunk it a bug 0.5RC also.

Why Milestone:   0.6-beta ?

I can not use roundcube, 0.5 or svn version, while the given problem won't be solved

I'm use Courier-imap and it don't have altnamespace option


umount

#7
Quote from: alec;32061Read this #1487657 (imap folders wrong prefix) ? Roundcube Webmail

Im use  latest trunk version in config
$rcmail_config['imap_ns_personal'] = 'INBOX.';
$rcmail_config['imap_ns_other'] = null;
$rcmail_config['imap_ns_shared'] = null;

use patch from #1487657 (imap folders wrong prefix) ? Roundcube Webmail

Include folder not work

[29-Dec-2010 15:04:52 +0300]: S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUT
H=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
[29-Dec-2010 15:04:52 +0300]: C: A0001 CAPABILITY
[29-Dec-2010 15:04:52 +0300]: S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PL
AIN ACL ACL2=UNION
[29-Dec-2010 15:04:52 +0300]: S: A0001 OK CAPABILITY completed
[29-Dec-2010 15:04:52 +0300]: C: A0002 AUTHENTICATE PLAIN
[29-Dec-2010 15:04:52 +0300]: S: +
[29-Dec-2010 15:04:52 +0300]: C: Mzc0NzE3NDM4MTIxQHdta2VlcGVyLmNvbQAzNzQ3MTc0MzgxMjFAd21rZWVwZXIuY29tAE0yMGdZV2RR
[29-Dec-2010 15:04:52 +0300]: S: A0002 OK LOGIN Ok.
[29-Dec-2010 15:04:52 +0300]: C: A0003 STATUS INBOX.Redmine (MESSAGES UNSEEN)
[29-Dec-2010 15:04:52 +0300]: S: A0003 NO Mailbox does not exist, or must be subscribed to.
[29-Dec-2010 15:04:52 +0300]: C: A0004 LOGOUT

Request should be  INBOX.INBOX.Redmine but it INBOX.Redmine

If I use
$rcmail_config['imap_ns_personal'] = null;
$rcmail_config['imap_ns_other'] = null;
$rcmail_config['imap_ns_shared'] = null;

All work but folder list look ugly.

alec

Ahh, sorry, for INBOX.INBOX.* issue you'll need #1487637. And this is for 0.6 because this will be big and not backward compatible change.

umount

Quote from: alec;32067Ahh, sorry, for INBOX.INBOX.* issue you'll need #1487637. And this is for 0.6 because this will be big and not backward compatible change.

All who use Courier-IMAP can't normal use roundcube 0.5 and trunk . It is a pity.

alec

I think all except INBOX.INBOX (and it's subfolders) should work.

umount

Quote from: alec;32073I think all except INBOX.INBOX (and it's subfolders) should work.

It is not enough of it for normal functioning of the mail server

umount

If remove

                foreach ($this->namespace['personal'] as $ns) {
                    if ($ns[0] && strpos($mbox_name, $ns[0]) === 0) {
                        return $mbox_name;
                    }
                }

All work perfect.

ericpepin

Great discussion comes out with a good result. Thank you all...

pszemaz

Hi!

Exact the same problem with Dovecot and Maildirs.
Umount's fix helped.
Thx!

PS. I think this bug should be fixed as soon as possible and released new ver. of Roundcube.

pszemaz