[Dovecot] Thunderbird namespace handling

Timo Sirainen tss at iki.fi
Tue Aug 10 00:56:21 EEST 2010


On 9.8.2010, at 20.35, Thomas Hummel wrote:

>> Well .. okay, prefix="" namespace is an exception to the above rule. :) 
> 
> Why has it to be an exception ? Your previous points still stand, don't they ? : 
> 
>  . isn't there a risk that the default namespace gets listed twice then ?
> 
>  . what's the point of not hiding a namespace which can be listed in any case ?


Because listing mailboxes always starts with the namespace that has no prefix. If you have only one namespace with prefix="" and list=no, you wouldn't have any listable mailboxes anywhere.

For example if you have:

namespace {
  prefix = foo/
  list = no
}

It won't show up with normal list:

a LIST "" *

But you can list its mailboxes with:

b LIST "" foo/*

But then if you have

namespace {
  prefix = 
  list = no
}

Now both a and b are exactly the same:

ab LIST "" *


More information about the dovecot mailing list