dovecot mdbox never fix broken indexes

Aki Tuomi aki.tuomi at dovecot.fi
Tue Jan 31 10:56:41 UTC 2017



On 31.01.2017 12:39, Andrey Melnikov wrote:
> 2017-01-31 13:03 GMT+03:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
>>> On January 30, 2017 at 10:53 AM Andrey Melnikov <temnota.am at gmail.com> wrote:
>>>
>>>
>>> 2017-01-30 11:43 GMT+03:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
>>>> Hi!
>>>>
>>>> Please send these to dovecot at dovecot.org instead of us directly. Thank you.
>>> Ok, added to cc.
>>>
>>>> Also, did you try force-resync?
>>> Not help.
>> Is
>>
>> Jan 30 09:36:05 mail dovecot: lmtp(altek at altek.info): Warning: mdbox
>> /srv/vmail/altek.info/altek/storage: Inconsistency in map index
>> (63,31880 != 63,327528)
>>
>> the first log entry about inconsistency?
> Jan 13 13:17:59 mail dovecot: pop3-login: Login:
> user=<altek at altek.info>, method=PLAIN, rip=192.168.0.28,
> lip=192.168.0.1, mpid=3482, session=<y+vtJfdFaAbAqAAc>
> Jan 13 13:17:59 mail dovecot: pop3(altek at altek.info): Error: Corrupted
> index cache file
> /srv/vmail/altek.info/altek/mailboxes/INBOX/dbox-Mails/dovecot.index.cache:
> invalid record size
> Jan 13 13:18:06 mail dovecot: pop3(altek at altek.info): Disconnected:
> Logged out top=0/0, retr=10/4412776, del=0/2634, size=749609216
>
> Jan 13 13:27:02 mail dovecot: lmtp(3636): Connect from ::1
> Jan 13 13:27:02 mail dovecot: lmtp(altek at altek.info): Warning: mdbox
> /srv/vmail/altek.info/altek/storage: Inconsistency in map index
> (63,31880 != 63,31992)
> Jan 13 13:27:02 mail dovecot: lmtp(altek at altek.info):
> UfL0G3areFg0DgAANAhlbg:
> msgid=<C9CC7A2922F6DA89555019A044B43319 at chorvatsko.cz>: saved mail to
> INBOX
> Jan 13 13:27:02 mail dovecot: lmtp(altek at altek.info): Warning: mdbox
> /srv/vmail/altek.info/altek/storage: Inconsistency in map index
> (63,31880 != 63,32116)
> Jan 13 13:27:02 mail dovecot: lmtp(altek at altek.info): Warning: fscking
> index file /srv/vmail/altek.info/altek/storage/dovecot.map.index
> Jan 13 13:27:02 mail dovecot: lmtp(altek at altek.info): Warning: mdbox
> /srv/vmail/altek.info/altek/storage: rebuilding indexes
> Jan 13 13:27:15 mail dovecot: lmtp(3636): Disconnect from ::1: Successful quit
>
>> Also, if the file has indeed corrupted due to power loss, it's possible it's beyond repair, and you will have to delete the index file. This has the down side of losing flags, but it should repair this.
> Why dovecot not repair it by itself?
>

It really should, as it's saying... Have to see why it's not successful
in this.

Aki


More information about the dovecot mailing list