[Dovecot] Problem with configuring dovecot to take namespaces from database

Timo Sirainen tss at iki.fi
Wed Sep 7 18:09:35 EEST 2011


On 7.9.2011, at 17.59, Marcin Mirosław wrote:

> namespace {
>  inbox = yes
>  list = yes
>  location =
>  prefix =
>  separator = .
>  subscriptions = yes
>  type = private
> }

You want to modify this namespace, or add a completely new namespace? I don't think you can add new ones via userdb lookup.. You'll basically have to have a template in the config file first, like:

namespace newspace {
}

Then you can add settings to it via e.g. 'namespace/newspace/location'.

If all users don't have a namespace, you can set the defaults so it's invisible:

namespace newspace {
  list = no
  hidden = yes
}




More information about the dovecot mailing list