<div class="markdown">
<p dir="auto">On 13 May 2015, at 3:52, Allie Martin wrote:</p>
<blockquote>
<p dir="auto">The current Mailbox name format used for submailboxes is: ${#source.path.noinbox}</p>
<p dir="auto">However, if the mailbox is a sub mailbox of another as most of my mailboxes are, they show like:</p>
<p dir="auto">mail/<mailbox name><br>
mail/<mailbox name></p>
<p dir="auto">Can the mailbox name format be changed so that only the mailbox name appears without the parent mailbox as well?</p>
</blockquote>
<p dir="auto">The <code>.noinbox</code> part is actually a horrible hack to remove the INBOX prefix used by some IMAP servers for all mailboxes in the account, but there is no general solution for this.</p>
<p dir="auto">You can use regexp substitution to do it manually though. I think this should work:</p>
<pre><code>${#source.path/^mail\///}
</code></pre>
<p dir="auto">It simply tells MailMate to replace any prefixed occurrence of <code>mail/</code> and replace it with nothing.</p>
<p dir="auto">-- <br>
Benny</p>
</div>