• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question Enable lz4 compression on Dovecot

Antonio J

New Pleskian
Good morning. Good morning,

I have been reviewing and observing the possibility of enabling lz4 compression in Dovecot through the zlib plugin.

My question is this: Is there a possibility to enable this in Plesk?
If so, could someone give me some kind of hint to get me started?

Thank you in advance for your help.

A greeting!
 
Officially it is not supported in Plesk. But you can try to experiment with it. You can try to enable it with modifying line

Code:
protocols = imap pop3

protocol imap {
  mail_plugins = $mail_plugins imap_quota
}

with

Code:
protocols = imap pop3

protocol imap {
  mail_plugins = $mail_plugins imap_quota zlib
}

in file /etc/dovecot/dovecot.conf and create file /etc/dovecot/conf.d/95-plesk-plugin.conf with content like:

Code:
plugin {
  zlib_save_level = 6
  zlib_save = lz4
}

After that restart dovecot service and check that it works.
To be honest I'm not sure that it will work correctly. But you can consider it as just direction and perform further tests and tuning by yourself and share your results here :)
 
Back
Top