how to create Drafts, Junk, Sent, Trash folders after user already created

Sami Ketola sami.ketola at dovecot.fi
Mon Mar 9 19:28:24 EET 2020



> On 9 Mar 2020, at 19.24, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> 
> 
>> On 09/03/2020 19:22 chayes at afo.net wrote:
>> 
>> 
>> Hello Dovecot,
>> Do to a misconfiguration, I have a bunch of users who do not have the standard folders.
>> I can create a routine to cycle through the users and look for the folders and run a command if there is one.
>> Is there a way to create the proper namespace for a user after the user has already been created?
>> Thanks in advance.
> 
> namespace {
>  ...
> 
>  mailbox Drafts {
>    auto=create
>  }
> 
>  ...
> }


or better yet use auto=subscribe to also subscribe the folders.

Sami


More information about the dovecot mailing list