Installed hestia with dovecot+exim4+roundcube.
Setted up gzip by adding
zlib_save = gz
zlib_save_level = 6
in config.
Added loading module in imap conf.
Im using thunderbird to read and sent messages but some messages in maildir were broken and thunderbird cannot finish downloading sent folder.
read /path/to/message failed. gz trailer has wrong CRC value at 8192 (read reason=mail stream)
UPDATE:
Yes just dovecot writing to dir (except mozilla thunderbird). I checked one message with gunzip -C and can read it, but at the end of file was attached png image and when i do
gunzip -c /home/$$$/.Sent/cur/1664802400.M298227P1667779.<mydomain>,S=6509045:2,S
I see part of message at beginning like this:
Content-Type: multipart/mixed; boundary="------------egJdRmaVhjH2gk4jyDoim1xN"
Message-ID: <$$$>
Date: Mon, 3 Oct 2022 16:06:17 +0300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Subject: =?UTF-8?B?UmU6INGC0LDQsdC70LjRhtCwINC6INC30LDQv9C+0LvQvdC10L3QuNGO?=
=?UTF-8?B?INGB0LXQvdGC0Y/QsdGA0YwgMjAyMg==?=
Content-Language: ru
To: Marina Nikitina <M*ru>
References: <[email protected]>
From: =?UTF-8?B?0JrQsNGI0YLQsNC90L7QstCwINCQ0L3QsNGB0YLQsNGB0LjRjyDQrtGA0Yw=?=
=?UTF-8?B?0LXQstC90LA=?= <*>
In-Reply-To: <*>
This is a multi-part message in MIME format.
--------------egJdRmaVhjH2gk4jyDoim1xN
Content-Type: multipart/alternative;
boundary="------------88BmI04frXCThbnk1baIR4WJ"
--------------88BmI04frXCThbnk1baIR4WJ
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
and base64 code of attached png at the end. And finally
this error:
gzip: /home/$$$/.Sent/cur/1664802400.M298227P1667779.<mydomain>,S=6509045:2,S: invalid compressed data--format violated
UPDATE: I think my problem was trying to move folders and messages from mozilla thunderbird not localy in dovecot. But how can i repair it now?
I tried to move broken messages but main problem dovecot logs only first borken message. After moving i have to delete index files and wait for the next found broken message.