Why does creating a mailbox create it in all namespaces?

Aki Tuomi aki.tuomi at open-xchange.com
Fri Feb 10 17:34:00 UTC 2023


> On 10/02/2023 15:30 EET e <him at cotdamn.com> wrote:
> 
>  
> When I create a mailbox using CREATE, it creates it in all namespaces? Is that supposed to happen?
> Look:
> ```
> a namespace
> * NAMESPACE (("" "/")("Other/" "/")) NIL NIL
> a OK Namespace completed (0.001 + 0.000 secs).
> a list "" *
> * LIST (\HasNoChildren) "/" Other
> * LIST (\HasNoChildren) "/" INBOX
> a OK List completed (0.001 + 0.000 secs).
> a create Other/Drafts
> a OK Create completed (0.003 + 0.000 + 0.002 secs).
> a list "" *
> * LIST (\HasNoChildren) "/" Drafts
> * LIST (\HasChildren) "/" Other
> * LIST (\HasNoChildren) "/" Other/Drafts
> * LIST (\HasNoChildren) "/" INBOX
> a OK List completed (0.001 + 0.000 secs).
> ```
> This is my namespace configuration
> ```
> namespace {
>   prefix =
>   inbox = yes
>   separator = /
> }
> 
> namespace {
>   prefix = Other/
>   separator = /
> }
> 
> ```
> And dovecot version is 2.3.7.2

In this configuration, both mail namespaces point to same physical storage.

Try adding e.g.

location = maildir:~/other/ 

To the second namespace.

Aki


More information about the dovecot mailing list