<html><head></head><body>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.<br><br><div class="gmail_quote">On March 16, 2022 2:32:32 AM AKDT, Joachim Lindenberg <dovecot@lindenberg.one> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre dir="auto" class="k9mail">What might go wrong? Or should I copy the directory myself from remote? What can go wrong with that?<br>Thanks, Joachim<br><br>-----Ursprüngliche Nachricht-----<br>Von: Aki Tuomi <aki.tuomi@open-xchange.com> <br>Gesendet: Wednesday, 16 March 2022 11:31<br>An: Joachim Lindenberg <dovecot@lindenberg.one><br>Betreff: Re: [EXT] AW: AW: AW: invalid lz4 chunk size??<br><br>It might, I can't promise it =)<br><br>Aki<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">On 16/03/2022 12:29 Joachim Lindenberg <dovecot@lindenberg.one> wrote:<br><br> <br>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. <br>Thanks, Joachim<br><br>-----Ursprüngliche Nachricht-----<br>Von: Aki Tuomi <aki.tuomi@open-xchange.com><br>Gesendet: Wednesday, 16 March 2022 11:17<br>An: Joachim Lindenberg <dovecot@lindenberg.one>; dovecot@dovecot.org<br>Betreff: Re: AW: AW: invalid lz4 chunk size??<br><br>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.<br><br>If this is sdbox, you need to run `doveadm force-resync -u user FolderName`.<br><br>Aki<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">On 16/03/2022 12:08 Joachim Lindenberg <dovecot@lindenberg.one> wrote:<br><br> <br>Hi Aki,<br>sure I can delete (or rename) the file(s) in the mail directory. <br>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.<br>Thanks, Joachim<br><br>-----Ursprüngliche Nachricht-----<br>Von: Aki Tuomi <aki.tuomi@open-xchange.com><br>Gesendet: Wednesday, 16 March 2022 08:38<br>An: Joachim Lindenberg <dovecot@lindenberg.one>; dovecot@dovecot.org<br>Betreff: Re: AW: invalid lz4 chunk size??<br><br>Hi,<br><br>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.<br><br>Aki<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;">On 16/03/2022 09:35 Joachim Lindenberg <dovecot@lindenberg.one> wrote:<br><br> <br>Nobody that can help?<br>Thanks,<br>Joachim<hr>I am still experiencing the issue. Any suggestion?<br>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?<br>Thanks,<br>Joachim<br><br>-----Ursprüngliche Nachricht-----<br>Von: Joachim Lindenberg <dovecot@lindenberg.one><br>Gesendet: Thursday, 3 March 2022 12:06<br>An: 'Aki Tuomi' <aki.tuomi@open-xchange.com>; dovecot@dovecot.org<br>Betreff: AW: invalid lz4 chunk size??<br><br>dovecot --version reports 2.3.17.1 (476cd46418) Joachim<br><br>-----Ursprüngliche Nachricht-----<br>Von: Aki Tuomi <aki.tuomi@open-xchange.com><br>Gesendet: Thursday, 3 March 2022 11:56<br>An: Joachim Lindenberg <dovecot@lindenberg.one>; <br>dovecot@dovecot.org<br>Betreff: Re: invalid lz4 chunk size??<br><br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;">On 03/03/2022 12:24 Joachim Lindenberg <dovecot@lindenberg.one> wrote:<br><br> <br>Hello,<br>when accessing one mailbox via ActiveSync / SoGo / Dovecot I get the following error repeatedly in dovecot log:<br>imap(somemailbox@example.org)<1579><***>: Error: Mailbox Sent: <br>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.<br>What can I do to resolve the issue?<br>Thanks,<br>Joachim<br></blockquote><br>Which version of Dovecot?<br><br>Aki<br></blockquote></blockquote></blockquote><br></pre></blockquote></div><div style='white-space: pre-wrap'><div class='k9mail-signature'>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></div></body></html>