Error log related to dovecot

NethServer Version: 7.8
Module: webserver (with vhosts), mail, firewall, IPS, fail2ban, ntopng, webtop

I found a lot of error logs in my nethserver system log that refer to all single user mailboxes.
var/log/maillog and var/log/imaplog seems to be fine.

imap(USER-ID@domain.de): Error: /var/lib/nethserver/vmail/USER-ID@domain.de/Maildir/public/.Junk/dovecot.index.pvt reset, view is now inconsistent

|PRIORITY|3|
| --- | --- |
|SYSLOG_FACILITY|2|
|SYSLOG_IDENTIFIER|dovecot|
|_BOOT_ID|65077fde3d5e4bc1b304e60e7ee59ecc|
|_CAP_EFFECTIVE|1fffffffff|
|_CMDLINE|dovecot/log|
|_COMM|log|
|_EXE|/usr/libexec/dovecot/log|
|_GID|0|
|_HOSTNAME|ns-srv01.domain.de|
|_MACHINE_ID|c1e4363f183341e5956c46909a530498|
|_PID|1452|
|_SOURCE_REALTIME_TIMESTAMP|1602926637772031|
|_SYSTEMD_CGROUP|/system.slice/dovecot.service|
|_SYSTEMD_SLICE|system.slice|
|_SYSTEMD_UNIT|dovecot.service|
|_TRANSPORT|syslog|
|_UID|0|
|__CURSOR|s=ef77d3bc51794ba0b935af19f4edcce9;i=764;b=65077fde3d5e4bc1b304e60e7ee59ecc;m=14132f9a;t=5b1da70d86d83;x=91e4b449e19a89e0|
|__MONOTONIC_TIMESTAMP|336801690|
|__REALTIME_TIMESTAMP|1602926637772163|

I have not configured any shared mailboxes / group mailboxes.

What means such error, what should I do?

Best regards, Marko

Supposedly fixed in v2.3.8 (released for CentOS 8, not released for CentOS 7)

When dovecot.index.pvt is empty, an unnecessary error is logged:
Error: …/dovecot.index.pvt reset, view is now inconsistent

Other/related causes and workarounds:

dovecot.index.pvt.reset

When deleting a public maildir in filesystem (rm -rf …) and copying
back from backup, it’s older than the users’ dovecot.index.pvt files.

Then the following error appears:

Error: /var/vmail/users/dr/.public-indexes/folder1/folder2/dovecot.index.pvt
reset, view is now inconsistent

This happens because the index.pvt is no longer valid, because you rm -rf’ed things.
rm all the dovecot.index.pvt files. The assert-crash should probably not happen at all.

BUG: Error: dovecot.index.pvt reset, view is now inconsistent when shared folder is new and empty

UserA share XXXXX folder with UserB, if XXXXX folder is new (never touched) and empty every time UserB looks in that folder, an error appears in log file. If UserA copy a mail in XXXXX folder, no more errors. If UserA (or UserB) delete all mails in XXXXX folder (the folder is empty again), no more errors.

if the folder is empty, but not new (p.e. UserA has already copied and deleted mails in that folder) error is logged only once.

dovecot.index.pvt reset, view is now inconsistent

The log message appears for empty “public” folders.
The log message disappears if you drop an email into X, then remove it.

Related post:

3 Likes