summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy
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 /roles/IMAP-proxy
parent7a562e807515506d7dca2f370f63057be7366c34 (diff)
dovecot imapc: wibble
Diffstat (limited to 'roles/IMAP-proxy')
-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
@@ -12,40 +12,43 @@ default_login_user = dovenull
# Internal user is used by unprivileged processes. It should be separate from
# login user, so that login processes can't disturb other processes.
default_internal_user = dovecot
service imap-login {
inet_listener imap {
address = 127.0.0.1 ::1
port = 143
ssl = no
}
inet_listener imaps {
port = 0
}
# Number of connections to handle before starting a new process. Typically
# the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
# 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
# If you set service_count=0, you probably need to grow this.
#vsz_limit = $default_vsz_limit
}
service imap {
# Most of the memory goes to mmap()ing files. You may need to increase this
# limit if you have huge mailboxes.
#vsz_limit = $default_vsz_limit
# Max. number of IMAP processes (connections)
#process_limit = 1024
}
service auth {
# auth_socket_path points to this userdb socket by default. It's typically
# used by dovecot-lda, doveadm, possibly imap process, etc. Users that have
# full permissions to this socket are able to get a list of all usernames and
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
@@ -1,17 +1,17 @@
# Smart IMAP proxying with imapc storage
#
# http://dovecot.org/pipermail/dovecot/2011-January/056975.html
# http://wiki2.dovecot.org/HowTo/ImapcProxy
# http://wiki2.dovecot.org/Migration/Dsync
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