summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-02 20:18:28 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:08 +0200
commit7d1622f3e5db18b40cab6cecfd3c2f1fab20d782 (patch)
treec5753fb80444467fe2fcb205e4d03595ff1412de /roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf
parentf2dc55cd77aae4e6e9c4258a64547a16a90ea579 (diff)
Configure the IMAP server.
(For now, only LMTP and IMAP processes, without replication.)
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
+ }
+}