<div class="markdown">
<p dir="auto">On 6 Jun 2014, at 4:04, Scott A. McIntyre wrote:</p>
<blockquote>
<p dir="auto">I don't know if it's Yosemite, or the "closing the search box opens a<br>
new window" bug, but, MailMate has crashed, hard, for me today -- for<br>
the very first time.</p>
</blockquote>
<p dir="auto">The 2 crash reports I have received related to this appear to show that this started with a problem loading part of the database (the values related to a specific header). In theory, such crashes (or any other non-hardware-crashes) should never lead to database corruption since MailMate is able to roll back to a safe state, but obviously this doesn't seem to work in this case :-(</p>
<p dir="auto">The only known issue in relation to this is that crashes in the composer can lead to database corruption when MailMate tries to restore an autosaved draft. I'm still having trouble reproducing and fixing this, but it appears to be unrelated to your issue.</p>
<blockquote>
<p dir="auto">Upon restart I was asked how to rebuild, and now it's stuck in a loop of<br>
rebuilding from cache, crashing, and restarting.</p>
</blockquote>
<p dir="auto">I'd like to get more information about this, but that's probably best off list.</p>
<blockquote>
<p dir="auto">Does anyone know what the Right Way is to, as a last resort, start up<br>
and nuke all known cached data and re-download everything, painfully,<br>
from IMAP?</p>
</blockquote>
<p dir="auto">It can be done as follows:</p>
<ol>
<li value=1>Rename (or move) <code>~/Library/Application Support/MailMate</code>.</li>
<li value=2>Create a new <code>~/Library/Application Support/MailMate</code>.</li>
<li value=3>Copy some or all of the <code>*.plist</code> files from the old folder to the new folder (if they are not suspected of causing the issue). This includes account settings, signatures, tags, and smart mailboxes. Note that the account-related files <code>Sources.plist</code>, <code>Submission.plist</code>, and <code>Identities.plist</code> must be copied as a group.</li>
</ol>
<p dir="auto">The simple approach is to just do step 1. Non-account related <code>plist</code>-files can be copied later (when MailMate is <strong>not</strong> running).</p>
<p dir="auto">Note that the old folder would still allow you to switch back to reproduce the crash-loop if you have time to help me investigate the issue.</p>
<p dir="auto">Sorry about whatever caused this problem in the first place.</p>
<p dir="auto">-- <br>
Benny</p>
</div>