AW: AW: invalid lz4 chunk size??

Joachim Lindenberg dovecot at lindenberg.one
Wed Mar 16 10:08:03 UTC 2022


Hi Aki,
sure I can delete (or rename) the file(s) in the mail directory. Will sync then restore it from remote or should I do this manually? Should I stop dovecot during the process?`
I am not very familiar with dovecot yet, as most of the complexity is hidden by mailcow.
Thanks, Joachim

-----Ursprüngliche Nachricht-----
Von: Aki Tuomi <aki.tuomi at open-xchange.com> 
Gesendet: Wednesday, 16 March 2022 08:38
An: Joachim Lindenberg <dovecot at lindenberg.one>; dovecot at dovecot.org
Betreff: Re: AW: invalid lz4 chunk size??

Hi,

looks a lot like your mail file is corrupted. Not much you can do about it other than maybe delete the file? You can try recover it with `doveadm fetch -u someone text uid 1553 mailbox Sent` and then using `doveadm save -u someone -m Sent` to store it back.

Aki

> On 16/03/2022 09:35 Joachim Lindenberg <dovecot at lindenberg.one> wrote:
> 
>  
> Nobody that can help?
> Thanks,
> Joachim
> 
> ----------
> 
> I am still experiencing the issue. Any suggestion?
> As I do have replication between two nodes and only one is showing the issue - can I rename the mailbox easily on one side and rely on replication to get the copy replaced? If that makes sense, which commands do you recommend?
> Thanks,
> Joachim
> 
> -----Ursprüngliche Nachricht-----
> Von: Joachim Lindenberg <dovecot at lindenberg.one> 
> Gesendet: Thursday, 3 March 2022 12:06
> An: 'Aki Tuomi' <aki.tuomi at open-xchange.com>; dovecot at dovecot.org
> Betreff: AW: invalid lz4 chunk size??
> 
> dovecot --version reports 2.3.17.1 (476cd46418) Joachim
> 
> -----Ursprüngliche Nachricht-----
> Von: Aki Tuomi <aki.tuomi at open-xchange.com>
> Gesendet: Thursday, 3 March 2022 11:56
> An: Joachim Lindenberg <dovecot at lindenberg.one>; dovecot at dovecot.org
> Betreff: Re: invalid lz4 chunk size??
> 
> 
> > On 03/03/2022 12:24 Joachim Lindenberg <dovecot at lindenberg.one> wrote:
> > 
> >  
> > Hello,
> > when accessing one mailbox via ActiveSync / SoGo / Dovecot I get the following error repeatedly in dovecot log:
> > imap(somemailbox at example.org)<1579><***>: Error: Mailbox Sent: 
> > UID=1553: read(compress()) failed: read() failed: lz4.read(): invalid lz4 chunk size: 1601505441 at 16842752 (read reason=) I can still access the mailbox via IMAP though.
> > What can I do to resolve the issue?
> > Thanks,
> > Joachim
> 
> Which version of Dovecot?
> 
> Aki



More information about the dovecot mailing list