• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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