[Dovecot] namespace hierarchy

Timo Sirainen tss at iki.fi
Wed Apr 18 20:20:30 EEST 2012


On 18.4.2012, at 20.00, Andreas Helmcke wrote:

>> If you have any subscriptions=no namespaces, you need a parent namespace that has subscriptions=yes. You could have e.g.:
>> 
>> namespace {
>>  prefix = INBOX/
>>  list = no
>>  inbox = yes
>> }
>> namespace {
>>  prefix =
>>  list = no
>>  hidden = yes
>>  alias_for = INBOX/
>> }
>> 
>> So now the prefix="" is used for the subscriptions but nothing else really.
> 
> I tried this, but sadly with dovecot V2.1.1 it is not working.

Oh, I hadn't thought of one problem: It's now using the same subscriptions file for both prefix="" and prefix=INBOX/ namespaces. This confuses it. So you need to place the prefix="" namespace somewhere else, for example:

> namespace dummy {
>  alias_for = INBOX/

location = maildir:/home/mail/user/%u/public

>  hidden = yes
>  list = no
>  location =
>  prefix =
>  separator = /
>  type = private
> }




More information about the dovecot mailing list