summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf')
-rw-r--r--roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf45
1 files changed, 45 insertions, 0 deletions
diff --git a/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf b/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf
new file mode 100644
index 0000000..e110f28
--- /dev/null
+++ b/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf
@@ -0,0 +1,45 @@
+##
+## Mailbox definitions
+##
+
+# NOTE: Assumes "namespace inbox" has been defined in 10-mail.conf.
+namespace inbox {
+
+ #mailbox name {
+ # auto=create will automatically create this mailbox.
+ # auto=subscribe will both create and subscribe to the mailbox.
+ #auto = no
+
+ # Space separated list of IMAP SPECIAL-USE attributes as specified by
+ # RFC 6154: \All \Archive \Drafts \Flagged \Junk \Sent \Trash
+ #special_use =
+ #}
+
+ # These mailboxes are widely used and could perhaps be created automatically:
+ mailbox TRASH {
+ auto = create
+ special_use = \Trash
+ }
+ mailbox DRAFTS {
+ auto = create
+ special_use = \Drafts
+ }
+ mailbox SENT {
+ auto = subscribe
+ special_use = \Sent
+ }
+ mailbox SPAM {
+ auto = create
+ special_use = \Junk
+ }
+
+ # If you have a virtual "All messages" mailbox:
+ mailbox virtual/All {
+ special_use = \All
+ }
+
+ # If you have a virtual "Flagged" mailbox:
+ mailbox virtual/Flagged {
+ special_use = \Flagged
+ }
+}