<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
<style>
div.markdown { white-space: normal; }
body { font-family: sans-serif; }
h1 { font-size: 1.4em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1.1em; }
pre { margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw; }
code { margin: 0; padding: 0 0.4em; border-radius: 3px; background-color: #F7F7F7; }
pre > code { padding: 0px; }
math[display="inline"] > mrow { padding:5px; }
div.footnotes li p { margin: 0.2em 0; }
</style>
</head>
<body>
<div class="markdown">
<p dir="auto">Do your MailMate mailing lists also contain lots of submailboxes named things like “15c317f52899487470ba6529” ?</p>
<p dir="auto">I couldn’t find an existing fix for the issue of the “Mailing Lists” smart mailbox submailbox names sometimes populating with hard-to-identify strings of alphanumerics from badly composed list-ids (the fault the the email list software generating the list, not MailMate, but still annoying to see).</p>
<p dir="auto">I worked up a new submailbox “Mailbox Name Format” specifier that fixes most of these here. I’d appreciate some feedback and tests. I can refine and document it here in this list thread after a little more testing.</p>
<p dir="auto">To test (these should be mostly obvious but I thought it best to be clear):</p>
<ul>
<li>first make a duplicate of your existing “Mailing Lists” smart folder
<ul>
<li>right-click on it and choose duplicate</li>
<li>don’t edit your original smart folder (so you can revert easily). use only the resulting “Mailing Lists (copy)”</li>
</ul>
</li>
<li>double click on your new duplicated smart folder “Mailing Lists (copy)” to open the edit window</li>
<li>select the the submailboxes tab</li>
<li>remove the existing “Mailbox Name Format” string</li>
<li>replace with the following:</li>
</ul>
<pre><code>${from.address:+${list-id.description:?${list-id.description/^[a-z]*\d.*/${from.#correspondent.name:${from.address}}/}:${subject.blob:?${subject.blob:/capitalize}:${from.#correspondent.name:?${from.#correspondent.name:/capitalize}:${list-id.identifier.final-level:/capitalize}}}}}
</code></pre>
<p dir="auto">I’ll break this down and document it here after some more review and changes.</p>
<p dir="auto">Thanks to MailMate’s format string syntax, this was pretty straightforward.</p>
<p dir="auto">Best regards,<br />
Ethan Schoonover<br />
ethanschoonover.com</p>
</div>
</body>
</html>