FW: how to create Drafts, Junk, Sent, Trash folders after user already created
chayes at afo.net
chayes at afo.net
Mon Mar 9 22:59:49 EET 2020
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
From: dovecot <dovecot-bounces at dovecot.org> On Behalf Of chayes at afo.net
Sent: Monday, March 9, 2020 12:22 PM
To: dovecot at dovecot.org
Subject: how to create Drafts, Junk, Sent, Trash folders after user already
created
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200309/5ca3868f/attachment-0001.html>
More information about the dovecot
mailing list