dovecot.index.pvt reset

Chris chris2014 at postbox.xyz
Thu Sep 20 19:00:53 EEST 2018


All,

maybe that's a similar issue like the one mentioned in [1],
nevertheless I started a new thread.

Using public folders:

location =
maildir:/var/vmail/public/:LAYOUT=fs:INDEXPVT=%h/.public-indexes

When deleting a public maildir in filesystem (rm -rf ...) and copying
back from backup, it's older than the users' dovecot.index.pvt files.
(%h is in another directory). Then the following error appears:

Sep 19 07:27:00 mail1 dovecot: imap(dr):
Error: /var/vmail/users/dr/.public-indexes/folder1/folder2/dovecot.index.pvt
reset, view is now inconsistent

Sometimes even a panic:

Sep 19 07:27:00 mail1 dovecot: imap(dr): Panic: file mail-index-map.c:
line 548 (mail_index_map_lookup
_seq_range): assertion failed: (first_uid <= last_uid)

When deleting such a maildir via IMAP or doveadm, the error isn't
appearing. 

Is there anything else, one has to consider, when restoring public
maildirs from rsync backup?

TIA!

Chris





[1] 5e26fce3-5f9f-219e-55fb-48981027dca5 at shift.agency


More information about the dovecot mailing list