diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-12-02 20:18:28 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:08 +0200 |
commit | 7d1622f3e5db18b40cab6cecfd3c2f1fab20d782 (patch) | |
tree | c5753fb80444467fe2fcb205e4d03595ff1412de /roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf | |
parent | f2dc55cd77aae4e6e9c4258a64547a16a90ea579 (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.conf | 45 |
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 + } +} |