From 1e4ba58b5b48d2f9fb2d82cbaa9665774c9de178 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 17 May 2016 22:08:31 +0200 Subject: dovecot imapc: wibble --- roles/IMAP-proxy/files/etc/dovecot/conf.d/10-master.conf | 3 +++ roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'roles/IMAP-proxy') 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. 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 -- cgit v1.2.3