<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 6 Oct 2016, at 14:18, Benny Kjær Nielsen <a href="mailto:mailinglist@freron.com" style="color:#3983C4">mailinglist@freron.com</a>  wrote:</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">Is there a way to get rid of the Archived, Deleted Messages and Junk smart mailboxes<br>
from the mailboxes tree…I don’t need them, visual clutter…</p>
</blockquote>

<p dir="auto">The short answer is no, but it has been on my todo for a long time. I'd like a feature which allows the user to define custom standard mailboxes, but this would naturally also allow one to delete them (and this would then also allow deleting the default ones).</p>

<p dir="auto">The long answer is yes, but it's tricky. The default set of standard mailboxes can be found here:</p>

<p dir="auto">MailMate.app/Contents/Resources/standardMailboxes.plist</p>

<p dir="auto">This can be edited, but that's bad because it's overwritten when MailMate is updated. Instead, it can be copied to this location:</p>

<p dir="auto">~/Library/Application Support/MailMate/Resources/standardMailboxes.plist</p>

<p dir="auto">This takes precedence over the default file. You can edit it and remove the mailboxes you don't need, BUT:</p>

<p dir="auto">When you do this then it'll mess up the ordering of your smart mailboxes. This only happens when you remove a mailbox.<br>
If I update the default standardMailboxes.plist then you won't see those changes.<br>
I'm not 100% sure there won't be side-effects of MailMate not being able to, e.g., find the Junk mailbox. (But I would be willing to look into such issues.)</p>

<p dir="auto">I do realize that the long answer also sounds a bit like “no” :-)</p>
</blockquote>

<p dir="auto">Hi Benny,</p>

<p dir="auto">Thinking out loud here.</p>

<p dir="auto">Rather than deleting the mailboxes, since the issue is visual clutter, wouldn't Hiding them  suffice. Then Mailmate would still have access.</p>

<p dir="auto">I'm thinking an addition to the right-click dropdown on every mailbox, "HIDE" this mailbox.</p>

<p dir="auto">Then an addition to preferences or perhaps some other menu that simple lists ALL mailboxes and indicates whether it's Hidden or Shown, and a single click to change from one to the other. Kinda like the way Gmail lets you select whether an IMAP label is hidden or shown.</p>

<p dir="auto">Then you may just need code in the display logic to honor the Hidden/Shown flag.</p>

<p dir="auto"><strong><em>Richard Rettke</em></strong><br>
<em>Laus Deo</em><br>
<em>Non sibi sed patriae</em></p>

<p dir="auto"><a href="https://about.me/rerettke" style="color:#3983C4">https://about.me/rerettke</a></p>
</div>
</div>
</body>
</html>