summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-05-17 22:08:31 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-05-17 22:08:31 +0200
commit1e4ba58b5b48d2f9fb2d82cbaa9665774c9de178 (patch)
treefb2390e814356eb1903658b820c1c638c17a911a
parent7a562e807515506d7dca2f370f63057be7366c34 (diff)
dovecot imapc: wibble
-rw-r--r--roles/IMAP-proxy/files/etc/dovecot/conf.d/10-master.conf3
-rw-r--r--roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf6
2 files changed, 6 insertions, 3 deletions
diff --git a/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-master.conf b/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-master.conf
index 12ec736..6ac62ec 100644
--- a/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-master.conf
+++ b/roles/IMAP-proxy/files/etc/dovecot/conf.d/10-master.conf
@@ -29,6 +29,9 @@ service imap-login {
# is faster. <doc/wiki/LoginProcess.txt>
service_count = 1
+ # Max. number of IMAP processes (logins)
+ process_limit = 256
+
# Number of processes to always keep waiting for more connections.
process_min_avail = 4
diff --git a/roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf b/roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf
index ea39a32..4c1cf8f 100644
--- a/roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf
+++ b/roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf
@@ -8,10 +8,10 @@ imapc_host = localhost
imapc_port = 993
# Read multiple mails in parallel, improves performance
-mail_prefetch_count = 20
+mail_prefetch_count = 25
# The list of valid features can be found there
# http://hg.dovecot.org/dovecot-2.2/file/tip/src/lib-storage/index/imapc/imapc-settings.c
# (in the struct 'imapc_feature_list imapc_feature_list')
-imapc_features = rfc822.size
-#imapc_features = rfc822.size fetch-headers
+imapc_features = rfc822.size fetch-headers
+#imapc_features = rfc822.size fetch-headers search