• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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