2018-11-05 7:43 GMT+01:00 Poliman - Serwis <[email protected]>:

> Ok, I will try to do this but should I do some backup of INBOX earlier?
>
> 2018-11-02 20:21 GMT+01:00 Sami Ketola <[email protected]>:
>
>>
>>
>> On 2 Nov 2018, at 20.58, Poliman - Serwis <[email protected]> wrote:
>>
>> I have a problem for specific mailbox. In mail.err file I see a lot:
>>
>> Nov  2 07:41:17 s1 dovecot: imap([email protected]): Error: 
>> unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache) failed: No 
>> such file or directory (in mail-cache.c:28)
>> Nov  2 07:41:17 s1 dovecot: imap([email protected]): Error: Corrupted index 
>> cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache: Broken 
>> MIME parts for mail UID 2356 in mailbox INBOX: Cached MIME parts don't match 
>> message during parsing: Cached header size mismatch (parts=)
>> Nov  2 07:41:19 s1 dovecot: imap([email protected]): Error: 
>> unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache) failed: No 
>> such file or directory (in mail-cache.c:28)
>> Nov  2 07:41:19 s1 dovecot: imap([email protected]): Error: Corrupted index 
>> cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache: Broken 
>> MIME parts for mail UID 2431 in mailbox INBOX: Cached MIME parts don't match 
>> message during parsing: Cached header size mismatch (parts=)
>> Nov  2 07:41:21 s1 dovecot: imap([email protected]): Error: 
>> unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache) failed: No 
>> such file or directory (in mail-cache.c:28)
>> Nov  2 07:41:21 s1 dovecot: imap([email protected]): Error: Corrupted index 
>> cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache: Broken 
>> MIME parts for mail UID 2552 in mailbox INBOX: Cached MIME parts don't match 
>> message during parsing: Cached header size mismatch (parts=)
>> Nov  2 07:41:21 s1 dovecot: imap([email protected]): Error: 
>> unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache) failed: No 
>> such file or directory (in mail-cache.c:28)
>> Nov  2 07:41:21 s1 dovecot: imap([email protected]): Error: Corrupted index 
>> cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache: Broken 
>> MIME parts for mail UID 2605 in mailbox INBOX: Cached MIME parts don't match 
>> message during parsing: Cached header size mismatch (parts=)
>> Nov  2 07:41:24 s1 dovecot: imap([email protected]): Error: 
>> unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache) failed: No 
>> such file or directory (in mail-cache.c:28)
>> Nov  2 07:41:24 s1 dovecot: imap([email protected]): Error: Corrupted index 
>> cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache: Broken 
>> MIME parts for mail UID 2717 in mailbox INBOX: Cached MIME parts don't match 
>> message during parsing: Cached header size mismatch (parts=)
>>
>> I have many mailboxes on the server and each of them work perfectly
>> except this one.
>>
>>
>> Somehow cache files have been corrupted.
>>
>> You can try to fix them with: doveadm force-resync -u user INBOX
>>
>> Sami
>>
>>
>>
>
>
> --
>
> *Pozdrawiam / Best Regards*
> *Piotr Bracha*
>

One more thing. I've made a copy of Maildir directory and executed ->
doveadm force-resync -u [email protected] INBOX. Maildir directory weight
2.6GB. Executing of this command took around 1sec. Is it that fast or I
used wrong arguments?

-- 

*Pozdrawiam / Best Regards*
*Piotr Bracha*

Reply via email to