summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy/files/etc/dovecot/conf.d/15-mailboxes.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-05-28 13:52:48 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-05-28 14:17:19 +0200
commit0084cd71699b4ad55c2912647f93afa32bbf7671 (patch)
tree03ec41af2a3e9fd565805c86f4b4552c13daec66 /roles/IMAP-proxy/files/etc/dovecot/conf.d/15-mailboxes.conf
parent05d59141d1115cafb663305d680a930f089b4851 (diff)
Remove the IMAP caching proxy.
Dovecot imapc requires two authentication rounds to the IMAP backend for each connection. It seems suboptimal that Roundcube keeps connecting to the IMAP server for each new connection, but benchmarks shows little advantage in caching the IMAP sessions with imapproxy: http://www.dovecot.org/list/dovecot/2012-February/133544.html
Diffstat (limited to 'roles/IMAP-proxy/files/etc/dovecot/conf.d/15-mailboxes.conf')
-rw-r--r--roles/IMAP-proxy/files/etc/dovecot/conf.d/15-mailboxes.conf76
1 files changed, 0 insertions, 76 deletions
diff --git a/roles/IMAP-proxy/files/etc/dovecot/conf.d/15-mailboxes.conf b/roles/IMAP-proxy/files/etc/dovecot/conf.d/15-mailboxes.conf
deleted file mode 100644
index 8366e95..0000000
--- a/roles/IMAP-proxy/files/etc/dovecot/conf.d/15-mailboxes.conf
+++ /dev/null
@@ -1,76 +0,0 @@
-##
-## Mailbox definitions
-##
-
-# Each mailbox is specified in a separate mailbox section. The section name
-# specifies the mailbox name. If it has spaces, you can put the name
-# "in quotes". These sections can contain the following mailbox settings:
-#
-# auto:
-# Indicates whether the mailbox with this name is automatically created
-# implicitly when it is first accessed. The user can also be automatically
-# subscribed to the mailbox after creation. The following values are
-# defined for this setting:
-#
-# no - Never created automatically.
-# create - Automatically created, but no automatic subscription.
-# subscribe - Automatically created and subscribed.
-#
-# special_use:
-# A space-separated list of SPECIAL-USE flags (RFC 6154) to use for the
-# mailbox. There are no validity checks, so you could specify anything
-# you want in here, but it's not a good idea to use flags other than the
-# standard ones specified in the RFC:
-#
-# \All - This (virtual) mailbox presents all messages in the
-# user's message store.
-# \Archive - This mailbox is used to archive messages.
-# \Drafts - This mailbox is used to hold draft messages.
-# \Flagged - This (virtual) mailbox presents all messages in the
-# user's message store marked with the IMAP \Flagged flag.
-# \Junk - This mailbox is where messages deemed to be junk mail
-# are held.
-# \Sent - This mailbox is used to hold copies of messages that
-# have been sent.
-# \Trash - This mailbox is used to hold messages that have been
-# deleted.
-#
-# comment:
-# Defines a default comment or note associated with the mailbox. This
-# value is accessible through the IMAP METADATA mailbox entries
-# "/shared/comment" and "/private/comment". Users with sufficient
-# privileges can override the default value for entries with a custom
-# value.
-
-# NOTE: Assumes "namespace inbox" has been defined in 10-mail.conf.
-namespace inbox {
- # These mailboxes are widely used and could perhaps be created automatically:
- mailbox Drafts {
- auto = create
- special_use = \Drafts
- }
- mailbox Junk {
- auto = create
- special_use = \Junk
- }
- mailbox Trash {
- auto = create
- special_use = \Trash
- }
- mailbox Sent {
- auto = subscribe
- special_use = \Sent
- }
-
- # If you have a virtual "All messages" mailbox:
- mailbox virtual/All {
- special_use = \All
- comment = All my messages
- }
-
- # If you have a virtual "Flagged" mailbox:
- mailbox virtual/Flagged {
- special_use = \Flagged
- comment = All my flagged messages
- }
-}