summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy/templates/etc/dovecot/conf.d/20-imapc.conf.j2
blob: 39dbbd6e5adb877c8e0e4409b81f32043dab2f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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/MailboxFormat/imapc
# http://wiki2.dovecot.org/Migration/Dsync

imapc_host = {{ ipsec[imapsvr.inventory_hostname_short] }}
imapc_port = 143

# Read multiple mails in parallel, improves performance
mail_prefetch_count = 25

# The list of valid features can be found at
#   https://github.com/dovecot/core/blob/master/src/lib-storage/index/imapc/imapc-settings.c
# (in the struct 'imapc_feature_list imapc_feature_list')
imapc_features = rfc822.size fetch-headers
#imapc_features = rfc822.size fetch-headers search