summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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