Dovecot.index.pvt view is inconsistent

NethServer Version: 7.9.2009

I get several error messages:

imap(yyy@xxx): Error: /var/lib/nethserver/vmailyyy@xxx/Maildir/shared/testpostfach@politik.lokal/.INBOX/dovecot.index.pvt view is inconsistent

How to fix these?

Here are some workarounds:

I have tons of such errors. Unfortunately, the overview is completely lost in such spam.

What exactly is the workaround to fix this?

I think @mrmarkuz means these ones:

and this one:

1 Like

I have tons of log messages:
/var/lib/nethserver/vmail/yyy@xxxxl/Maildir/public/dovecot.index.pvt view is inconsistent

The file does not exist however and the directoy only contains a file dovecot.index.pvt.log

How to solve this

BTW: What is the use of the public spam folder, which is read only and empty?

@stephdl
Can you help?

1 Like

what inside

I do have for each folders

/var/lib/nethserver/vmail/user@domain/Maildir/shared/user@domain/.INBOX.Toulibre/dovecot.index.pvt

https://wiki.dovecot.org/IndexFiles

Install mlocate, then do updatedb, try to find locate dovecot.index.pvt you need to get one per user folder email

binary file :expressionless:

https://dovecot.org/pipermail/dovecot/2019-December/117767.html
https://wiki.dovecot.org/Tools/Doveadm/Index

All errors are in folders under “shared” or “public”. Also I deleted a user, who shared the mailbox without another one, so that there are folders of the deleted user under shared.

How to tidy this up? Actually Nethserver should not leave that many garbage after deletion of users. Especially when cannot handle these non-deleted files without massive errors in the logs.

Can I just delete these folders?