Bill Boebel
2006-Jul-05 16:04 UTC
[Dovecot] LIST command ignores "hidden=yes" for default namespace
On Sun, June 11, 2006 1:51 pm, Timo Sirainen <tss at iki.fi> said:> On Mon, 2006-05-08 at 22:03 -0400, Bill Boebel wrote: >I'm not sure if this is a bug or just an undesirable feature, but when I >have our namespace configured to match Courier's "INBOX." functionality, >Dovecot forces me to also define a default namespace (with no prefix). >Without the default namespace defined I get "NO Unknown namespace." errors >when trying to subscribe or unsubscribe folders. > > It was a bug when tb-extra-mailbox-sep workaround was enabled. Fixed: > http://dovecot.org/list/dovecot-cvs/2006-June/005709.html >The second part of this still seems to be the case with RC2... the LIST command ignores "hidden=yes". http://www.dovecot.org/list/dovecot/2006-May/013253.html Running with the following namespace settings causes a LIST comand to show the folder listing twice, once the INBOX. prefix and once without. But it should only be listing the folders with the prefix since hidden=yes on the second. The patch I listed in my original post fixes it in RC2 as well. namespace private { separator = . prefix = INBOX. inbox = yes location = maildir:%h } namespace private { separator = . prefix inbox = no hidden = yes location = maildir:%h }
Timo Sirainen
2006-Aug-06 23:57 UTC
[Dovecot] LIST command ignores "hidden=yes" for default namespace
On Wed, 2006-07-05 at 12:04 -0400, Bill Boebel wrote:> On Sun, June 11, 2006 1:51 pm, Timo Sirainen <tss at iki.fi> said: > > On Mon, 2006-05-08 at 22:03 -0400, Bill Boebel wrote: > >I'm not sure if this is a bug or just an undesirable feature, but when I > >have our namespace configured to match Courier's "INBOX." functionality, > >Dovecot forces me to also define a default namespace (with no prefix). > >Without the default namespace defined I get "NO Unknown namespace." errors > >when trying to subscribe or unsubscribe folders. > > > > It was a bug when tb-extra-mailbox-sep workaround was enabled. Fixed: > > http://dovecot.org/list/dovecot-cvs/2006-June/005709.html > > > > The second part of this still seems to be the case with RC2... the LIST command ignores "hidden=yes".hidden=yes only means it's not listed in NAMESPACE command's reply and that the namespace prefix isn't shown as a mailbox in LIST replies. Since the prefix is empty and you're listing the mailboxes from root, it shows the mailboxes as it should.. Correct way would be to just use one namespace and fix the problems related to it. Could you test with RC6 and show me what commands give the unknown namespace errors? Subscribing and unsubscribing worked fine with me. Although INBOX subscription causes some problems with LSUB. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060807/7892c6ad/attachment.bin>