<div class="markdown">
<p dir="auto">On 19 Feb 2015, at 5:59, David Morrison wrote:</p>
<blockquote>
<p dir="auto">That's fine if all your messages for a particular smart folder have some common factor, such as a mailing list name. But what happens when the mailing list changes its name or host or something?</p>
</blockquote>
<p dir="auto">I use this for my mailing lists:</p>
<ul>
<li>the IMAP sorts the mailing lists into folders like "Mailinglisten/MailMate"</li>
<li>in MailMate then I use a smart folder with
<ul>
<li>Mailboxes: <account></li>
<li>Conditions: <Source.path> <contains> <Mailinglisten> (I use the path because two of my mailing lists don't use the ListID-header, otherwise I would use this)</li>
<li>Submailboxes: Source.path.noinbox and mail box format
${#source.path.noinbox/Mailinglisten\///} (this will name the subfolders by their folder name without the full path, like "MailMate")</li>
</ul></li>
</ul>
<p dir="auto">If you then ever have a change in one of your mailing lists then you only need to change the rule on the IMAP server and maybe to rename the folder in case of a name change of the list.</p>
<p dir="auto">Then I have another rule to filter out my mailing list postings out of my combined Inbox/Sent smart folder:</p>
<ul>
<li>Mailboxes: <Inbox>, <Sent></li>
<li>Conditions: <Message-Id> <is not in> <Mailinglisten> <Message-Id></li>
</ul>
<p dir="auto">When you then post to a mailing list, your sent mail will appear in your Inbox/Send folder until you get your posting back from the list server.</p>
<p dir="auto">I hope I understand your problem correctly and this will help. Maybe you can transfer this logic to other use cases.</p>
<p dir="auto">-- <br>
Gruß<br>
Mike</p>
</div>