Bug 52785 - add ability to configure performance related dovecot settings by UCRV
add ability to configure performance related dovecot settings by UCRV
Status: NEW
Product: UCS
Classification: Unclassified
Component: Mail - Dovecot
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-02-12 12:16 CET by Dirk Ahrnke
Modified: 2021-02-12 12:16 CET (History)
0 users

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Ahrnke univentionstaff 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