This is how you can create default mailboxes automatically when using Dovecot and Plesk…
1 |
vi /etc/dovecot/conf.d/10-mailboxes.conf |
And add the following…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
namespace inbox { mailbox Drafts { special_use = \Drafts auto=subscribe } mailbox Trash { special_use = \Trash auto=subscribe } mailbox Sent { special_use = \Sent auto=subscribe } mailbox "Sent Messages" { special_use = \Sent } } |
Then restart Dovecot…
1 |
service dovecot restart |
Now when you add an email user in Plesk these mailboxes will be created automatically for them.