Univention Bugzilla – Bug 52785
add ability to configure performance related dovecot settings by UCRV
Last modified: 2021-02-12 12:16:14 CET
OX support stated to a customer who reported slowness up to timeouts when opening large mailfolders in Appsuite: "I just noticed that mail_always_cache_fields setting isn’t used. There is recommended configuration when Dovecot is used with OX App Suite. Could you please try the configuration and see if the issue still occurs? Configuration should be something like: mail_always_cache_fields = flags date.received size.virtual imap.bodystructure mime.parts hdr.importance hdr.x-priority hdr.references body.snippet hdr.x-open-xchange-share-url hdr.date hdr.subject hdr.from hdr.sender hdr.reply-to hdr.to hdr.cc hdr.bcc hdr.in-reply-to hdr.message-id Please see also: https://doc.dovecot.org/configuration_manual/mail_cache_settings/ " While this can be adressed by using /etc/dovecot/local.conf it would be nice to be able to configure this by UCRV and furtheron directory policies. root@back1:~# doveconf | grep cache_fields mail_always_cache_fields = mail_cache_fields = flags mail_never_cache_fields = imap.envelope root@back1:~# echo "mail_always_cache_fields = flags date.received size.virtual imap.bodystructure mime.parts hdr.importance hdr.x-priority hdr.references body.snippet hdr.x-open-xchange-share-url hdr.date hdr.subject hdr.from hdr.sender hdr.reply-to hdr.to hdr.cc hdr.bcc hdr.in-reply-to hdr.message-id" >> /etc/dovecot/local.conf root@back1:~# doveconf | grep cache_fields mail_always_cache_fields = flags date.received size.virtual imap.bodystructure mime.parts hdr.importance hdr.x-priority hdr.references body.snippet hdr.x-open-xchange-share-url hdr.date hdr.subject hdr.from hdr.sender hdr.reply-to hdr.to hdr.cc hdr.bcc hdr.in-reply-to hdr.message-id mail_cache_fields = flags mail_never_cache_fields = imap.envelope