{"id":1647,"date":"2022-06-07T12:16:30","date_gmt":"2022-06-07T20:16:30","guid":{"rendered":"https:\/\/www.yourservice.com\/blog\/?p=1647"},"modified":"2022-06-07T12:20:29","modified_gmt":"2022-06-07T20:20:29","slug":"mail-cache-bug-in-apple-mail-using-dovecot","status":"publish","type":"post","link":"https:\/\/www.yourservice.com\/blog\/?p=1647","title":{"rendered":"Mail cache bug in Apple Mail using Dovecot"},"content":{"rendered":"\n<p>I ran into this bug today with Apple mail and Dovecot\/Imap.<\/p>\n\n\n\n<p>I was trying to delete a lot of email and it would go away and then a few seconds come right back. Sometimes it would stick, most times it would come back.<\/p>\n\n\n\n<p>Digging deep into this, I discovered that dovecot creates a mail\/.imap cache directory. Looking in the mail logs I noticed that there was a an error about index corruption on the cache. <\/p>\n\n\n\n<p>The simple solution is to stop dovecot, deleted the entire .imap directory and restart dovecot.<\/p>\n\n\n\n<p>This will require the client to re-sync the cache (so it might take awhile if you have a lot of mail or folders).<\/p>\n\n\n\n<p>In my case, this appears to have resolved the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into this bug today with Apple mail and Dovecot\/Imap. I was trying to delete a lot of email and it would go away and then a few seconds come right back. Sometimes it would stick, most times it would come back. Digging deep into this, I discovered that dovecot creates a mail\/.imap cache [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[78,80,79,77],"class_list":["post-1647","post","type-post","status-publish","format-standard","hentry","category-muggle-tech","tag-dovecot","tag-email-not-delete","tag-imap","tag-mail-app"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1647"}],"version-history":[{"count":2,"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1647\/revisions"}],"predecessor-version":[{"id":1654,"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1647\/revisions\/1654"}],"wp:attachment":[{"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yourservice.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}