Author Topic: Embeded folder error  (Read 8630 times)

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« on: December 20, 2010, 03:44:45 AM »
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.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Embeded folder error
« Reply #1 on: December 20, 2010, 05:16:08 AM »
Check imap_ns_* settings. Also enable imap_debug and show the log.

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« Reply #2 on: December 20, 2010, 06:31:01 AM »
Quote from: alec;31888
Check 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

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« Reply #3 on: December 20, 2010, 06:34:54 AM »
on hard disk

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

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Embeded folder error
« Reply #4 on: December 20, 2010, 07:26:53 AM »

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« Reply #5 on: December 29, 2010, 05:22:58 AM »
Quote from: alec;31894
A 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
« Last Edit: December 29, 2010, 06:09:11 AM by umount »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Embeded folder error
« Reply #6 on: December 29, 2010, 06:32:59 AM »

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« Reply #7 on: December 29, 2010, 07:18:02 AM »
Quote from: alec;32061
Read 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.
« Last Edit: December 29, 2010, 08:15:24 AM by umount »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Embeded folder error
« Reply #8 on: December 29, 2010, 08:54:42 AM »
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.

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« Reply #9 on: December 29, 2010, 09:09:55 AM »
Quote from: alec;32067
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.


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

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Embeded folder error
« Reply #10 on: December 29, 2010, 01:49:35 PM »
I think all except INBOX.INBOX (and it's subfolders) should work.

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« Reply #11 on: January 11, 2011, 02:35:23 AM »
Quote from: alec;32073
I think all except INBOX.INBOX (and it's subfolders) should work.


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

Offline umount

  • Full Member
  • ***
  • Posts: 63
Embeded folder error
« Reply #12 on: January 11, 2011, 03:26:45 AM »
If remove

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

All work perfect.

Offline ericpepin

  • Newbie
  • *
  • Posts: 1
    • http://ericpepin.wordpress.com/
Embeded folder error
« Reply #13 on: January 11, 2011, 06:19:55 AM »
Great discussion comes out with a good result. Thank you all...

Offline pszemaz

  • Newbie
  • *
  • Posts: 3
Embeded folder error
« Reply #14 on: January 15, 2011, 06:35:00 AM »
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