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 <dove...@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.tu...@open-xchange.com> 
> Gesendet: Wednesday, 16 March 2022 08:38
> An: Joachim Lindenberg <dove...@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 <dove...@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 <dove...@lindenberg.one> 
> > Gesendet: Thursday, 3 March 2022 12:06
> > An: 'Aki Tuomi' <aki.tu...@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.tu...@open-xchange.com>
> > Gesendet: Thursday, 3 March 2022 11:56
> > An: Joachim Lindenberg <dove...@lindenberg.one>; dovecot@dovecot.org
> > Betreff: Re: invalid lz4 chunk size??
> > 
> > 
> > > On 03/03/2022 12:24 Joachim Lindenberg <dove...@lindenberg.one> wrote:
> > > 
> > >  
> > > Hello,
> > > when accessing one mailbox via ActiveSync / SoGo / Dovecot I get the 
> > > following error repeatedly in dovecot log:
> > > imap(somemail...@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

Reply via email to