{"id":432,"date":"2011-01-03T17:43:18","date_gmt":"2011-01-03T22:43:18","guid":{"rendered":"https:\/\/www.goer.org\/wordpress\/howto_fix_a_mail_has_undone_actions_imap_error"},"modified":"2013-11-17T20:50:12","modified_gmt":"2013-11-17T20:50:12","slug":"howto_fix_a_mail_has_undone_actions_imap_error","status":"publish","type":"post","link":"https:\/\/www.goer.org\/Journal\/2011\/01\/howto_fix_a_mail_has_undone_actions_imap_error.html","title":{"rendered":"HOWTO Fix a &#8216;Mail has undone actions&#8217; IMAP error"},"content":{"rendered":"<p>When using OS X Mail on Leopard with IMAP, it is possible to get Mail.app into a bad state with respect to the server. When this happens, Mail will start displaying an extremely-hard-to-dismiss dialog that resembles:<\/p>\n<p>Mail has undone actions on some messages so that you can redo the actions while online.<\/p>\n<p>Additional information: The IMAP command &#8220;UID COPY&#8221; (to Deleted Items) failed for the mailbox &#8220;Junk E-mail&#8221; with server error: Command Error. 10.<\/p>\n<p>For the benefit of the entire Internets, here is the solution.<\/p>\n<ol>\n<li>\n<p>Close Mail.app.<\/p>\n<\/li>\n<li>\n<p>Open a terminal and <strong>cd ~\/Library\/Mail\/<\/strong>.<\/p>\n<\/li>\n<li>\n<p>In this directory is a subdirectory that is called something like <code>IMAP-youremail@yourmailserver<\/code>. (Or if you&#8217;re living dangerously and\/or stupidly like me, <code>Exchange-youremail@yourmailserver<\/code>). <strong>cd<\/strong> into this directory.<\/p>\n<\/li>\n<li>\n<p><strong>cd .OfflineCache\/<\/strong> and <strong>rm<\/strong> everything in this directory.<\/p>\n<\/li>\n<\/ol>\n<p>You&#8217;re welcome!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the benefit of the entire Internets, here is the solution. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-432","post","type-post","status-publish","format-standard","hentry","category-howto"],"_links":{"self":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts\/432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/comments?post=432"}],"version-history":[{"count":1,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts\/432\/revisions"}],"predecessor-version":[{"id":668,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts\/432\/revisions\/668"}],"wp:attachment":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/categories?post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/tags?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}