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

Sami Ketola Sami.Ketola at Open-Xchange.com
Tue Mar 10 09:40:35 EET 2020



> On 9 Mar 2020, at 22.59, chayes at afo.net wrote:
> 
> Thanks for the suggestions, but I need to do this after users have been created.
> Would this be the best way?
> To run this for each user:
> doveadm mailbox create -u $username -s Drafts
> doveadm mailbox subscribe -u $username Drafts
> doveadm mailbox create -u $username -s Junk
> doveadm mailbox subscribe -u $username Junk
> doveadm mailbox create -u $username -s Sent
> doveadm mailbox subscribe -u $username Sent
> doveadm mailbox create -u $username -s Trash
> doveadm mailbox subscribe -u $username Trash
>  

Just add the settings suggested. Then the folders will be autocreated by dovecot on the next user access.

Sami


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200310/59c33034/attachment.html>


More information about the dovecot mailing list