error Cached MIME parts don't match message during parsing: Cached header size mismatch (parts=)

Sami Ketola sami.ketola at dovecot.fi
Fri Nov 2 21:21:40 EET 2018



> On 2 Nov 2018, at 20.58, Poliman - Serwis <serwis at poliman.pl> wrote:
> 
> I have a problem for specific mailbox. In mail.err file I see a lot:
> Nov  2 07:41:17 s1 dovecot: imap(artur at example.pl <mailto:artur at example.pl>): Error: unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: Corrupted index cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: Corrupted index cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: Corrupted index cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: Corrupted index cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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(artur at example.pl <mailto:artur at example.pl>): Error: Corrupted index cache file /var/vmail/example.pl/artur/Maildir/dovecot.index.cache <http://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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20181102/a24f0c85/attachment.html>


More information about the dovecot mailing list