summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-25 18:46:35 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:52 +0200
commita4b88d46526632705d92b2902d3604907afbcbc9 (patch)
treedfbe2e46f7c972edb855a2714e2be62443a131e5 /roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf
parent2c6875911b26fefd9bd11bd71eecda69e0cf32aa (diff)
Install dovecot from backports (for imapc).
Interesting features include caching of mail headers (v2.2.8+) as well as new IMAP capabilities.
Diffstat (limited to 'roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf')
-rw-r--r--roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf20
1 files changed, 16 insertions, 4 deletions
diff --git a/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf b/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf
index f106af5..e19b507 100644
--- a/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf
+++ b/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-mail.conf
@@ -98,7 +98,7 @@ namespace inbox {
#list = children
#}
# Should shared INBOX be visible as "shared/user" or "shared/user/INBOX"?
-#mail_shared_explicit_inbox = yes
+#mail_shared_explicit_inbox = no
# System user and group used to access mails. If you use multiple, userdb
# can override these by returning uid or gid fields. You can use either numbers
@@ -124,6 +124,10 @@ mail_gid = imapproxy
# or ~user/.
#mail_full_filesystem_access = no
+# Dictionary for key=value mailbox attributes. Currently used by URLAUTH, but
+# soon intended to be used by METADATA as well.
+#mail_attribute_dict =
+
##
## Mail processes
##
@@ -207,6 +211,10 @@ mail_plugins = virtual
## Mailbox handling optimizations
##
+# Mailbox list indexes can be used to optimize IMAP STATUS commands. They are
+# also required for IMAP NOTIFY extension to be enabled.
+mailbox_list_index = yes
+
# The minimum number of mails in a mailbox before updates are done to cache
# file. This allows optimizing Dovecot's behavior to do less disk writes at
# the cost of more disk reads.
@@ -276,8 +284,14 @@ mail_plugins = virtual
# in is important to avoid deadlocks if other MTAs/MUAs are using multiple
# locking methods as well. Some operating systems don't allow using some of
# them simultaneously.
+#
+# The Debian value for mbox_write_locks differs from upstream Dovecot. It is
+# changed to be compliant with Debian Policy (section 11.6) for NFS safety.
+# Dovecot: mbox_write_locks = dotlock fcntl
+# Debian: mbox_write_locks = fcntl dotlock
+#
#mbox_read_locks = fcntl
-#mbox_write_locks = dotlock fcntl
+#mbox_write_locks = fcntl dotlock
# Maximum time to wait for lock (all of them) before aborting.
#mbox_lock_timeout = 5 mins
@@ -341,8 +355,6 @@ mail_plugins = virtual
# also allows single instance storage for them. Other backends don't support
# this for now.
-# WARNING: This feature hasn't been tested much yet. Use at your own risk.
-
# Directory root where to store mail attachments. Disabled, if empty.
#mail_attachment_dir =