From e71c653c8ccb40bfe08100c226eb95ccc34979b3 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Sat, 22 Apr 2023 08:24:36 +0200 Subject: [PATCH] fix #2139 --- docs/configuration.rst | 2 ++ setup/flavors/compose/mailu.env | 2 +- towncrier/newsfragments/2793.bugfix | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 2e9f8ef5..1fb0fbb4 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -241,6 +241,8 @@ but slows down the performance of modern devices. The ``TLS_PERMISSIVE`` (default: true) setting controls whether ciphers and protocols offered on port 25 for STARTTLS are optimized for maximum compatibility. We **strongly recommend** that you do **not** change this setting on the basis that any encryption beats no encryption. If you are subject to compliance requirements and are not afraid of losing emails as a result of artificially reducing compatibility, set it to 'false'. Keep in mind that servers that are running a software stack old enough to not be compatible with the current TLS requirements will either a) deliver in plaintext b) bounce emails c) silently drop emails; moreover, modern servers will benefit from various downgrade protections (DOWNGRD, RFC7507) making the security argument mostly a moot point. +The ``COMPRESSION`` (default: unset) setting controls whether emails are stored compressed at rest on disk. Valid values are ``gz``, ``bz2`` or ``zstd``. If the underlying filesystem supports compression natively you should use it instead of this setting as it will be more efficient and will improve compatibility with 3rd party tools. + .. _reverse_proxy_headers: The ``REAL_IP_HEADER`` (default: unset) and ``REAL_IP_FROM`` (default: unset) settings diff --git a/setup/flavors/compose/mailu.env b/setup/flavors/compose/mailu.env index 090f4d3a..eae69104 100644 --- a/setup/flavors/compose/mailu.env +++ b/setup/flavors/compose/mailu.env @@ -105,7 +105,7 @@ WELCOME_SUBJECT={{ welcome_subject or 'Welcome to your new email account' }} WELCOME_BODY={{ welcome_body or 'Welcome to your new email account, if you can read this, then it is configured properly!' }} # Maildir Compression -# choose compression-method, default: none (value: gz, bz2) +# choose compression-method, default: none (value: gz, bz2, zstd) COMPRESSION={{ compression }} # change compression-level, default: 6 (value: 1-9) COMPRESSION_LEVEL={{ compression_level }} diff --git a/towncrier/newsfragments/2793.bugfix b/towncrier/newsfragments/2793.bugfix index 591e33e8..12727762 100644 --- a/towncrier/newsfragments/2793.bugfix +++ b/towncrier/newsfragments/2793.bugfix @@ -1,2 +1,3 @@ The SMTP container wasn't logging things like it should The health-check of dovecot was creating zombies +Document that COMPRESSION=zstd is now possible (see #2139)