invalid lz4 chunk size??
Hello, when accessing one mailbox via ActiveSync / SoGo / Dovecot I get the following error repeatedly in dovecot log: imap(somemailbox@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
dovecot --version reports 2.3.17.1 (476cd46418) Joachim
-----Ursprüngliche Nachricht----- Von: Aki Tuomi <aki.tuomi@open-xchange.com> Gesendet: Thursday, 3 March 2022 11:56 An: Joachim Lindenberg <dovecot@lindenberg.one>; dovecot@dovecot.org Betreff: Re: invalid lz4 chunk size??
Which version of Dovecot?
Aki
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@lindenberg.one> Gesendet: Thursday, 3 March 2022 12:06 An: 'Aki Tuomi' <aki.tuomi@open-xchange.com>; dovecot@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@open-xchange.com> Gesendet: Thursday, 3 March 2022 11:56 An: Joachim Lindenberg <dovecot@lindenberg.one>; dovecot@dovecot.org Betreff: Re: invalid lz4 chunk size??
Which version of Dovecot?
Aki
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@lindenberg.one> Gesendet: Thursday, 3 March 2022 12:06 An: 'Aki Tuomi' <aki.tuomi@open-xchange.com>; dovecot@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@open-xchange.com> Gesendet: Thursday, 3 March 2022 11:56 An: Joachim Lindenberg <dovecot@lindenberg.one>; dovecot@dovecot.org Betreff: Re: invalid lz4 chunk size??
Which version of Dovecot?
Aki
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
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@open-xchange.com> Gesendet: Wednesday, 16 March 2022 08:38 An: Joachim Lindenberg <dovecot@lindenberg.one>; dovecot@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
Not sure what "remote" you are talking about. You can remove the file, and dovecot will notice it's absence and update it's indexes if this is maildir++ format.
If this is sdbox, you need to run doveadm force-resync -u user FolderName
.
Aki
participants (2)
-
Aki Tuomi
-
Joachim Lindenberg