What's with the "AW: AW: AW:" business? It sounds for all the world like a guy outbid at the Sotheby's auction or something like that. There's got to be a lot of artwork online with that fancy lz4 compression algorithm.

On March 16, 2022 2:32:32 AM AKDT, Joachim Lindenberg <dovecot@lindenberg.one> wrote:
What might go wrong? Or should I copy the directory myself from remote? What can go wrong with that?
Thanks, Joachim

-----Ursprüngliche Nachricht-----
Von: Aki Tuomi <aki.tuomi@open-xchange.com>
Gesendet: Wednesday, 16 March 2022 11:31
An: Joachim Lindenberg <dovecot@lindenberg.one>
Betreff: Re: [EXT] AW: AW: AW: invalid lz4 chunk size??

It might, I can't promise it =)

Aki

On 16/03/2022 12:29 Joachim Lindenberg <dovecot@lindenberg.one> wrote:


With remote I am referring to the second instance of mailcow including dovecot I am running, which has dovecot replication active. I am observing the issue on just one box. Thus I am hoping that when I remove the user mail directory on one host, replication will restore it from remote.
Thanks, Joachim

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

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

On 16/03/2022 12:08 Joachim Lindenberg <dovecot@lindenberg.one> wrote:


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

On 16/03/2022 09:35 Joachim Lindenberg <dovecot@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@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??


On 03/03/2022 12:24 Joachim Lindenberg <dovecot@lindenberg.one> wrote:


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

Which version of Dovecot?

Aki

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.