]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Fix corrupted cache when adding attachment keywords
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 7 May 2021 17:37:02 +0000 (20:37 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 28 May 2021 13:27:52 +0000 (13:27 +0000)
commitc8ac1fd03b7b626d379d6e47262f289c1a39ad3b
tree5414b7c27951bf975ce04818352b203118c8c20d
parentbbcf91c5d69667af545b30b1ef4531f1df58f1fb
lib-storage: Fix corrupted cache when adding attachment keywords

If IMAP BODYSTRUCTURE parsing fails, it means the BODYSTRUCTURE doesn't
match the MIME parts. This likely means that one or both of them are
corrupted. Handle this by deleting the email from cache, so this error
won't keep repeating.
src/lib-storage/mail.c