<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">On 2 Aug 2024, at 5:52, Henry Seiden wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">Randall,</p>
<p dir="auto">Yes. This would reduce the number of rule from one per account to 1 per duration (about half the number of rules, since I use a one day duration and a two week duration on Junk and a two week and 4 week duration on Deleted Messages rules.</p>
<p dir="auto">Are the Rules name referring to the MailMate names or the actual name of the IMAP folders? For instance Mailbox refers to Deleted Messages as either an IMAP name of Deleted or Deleted Messages server names.</p>
<p dir="auto">I take it the rules work immediately at the time the rule determines a match?</p>
<p dir="auto">As to conditions, selecting the mailboxes involved in a time period as being in each specific Account’s IMAP folders (E.G. Junk) to set the “Expunge Junk 2 DAY” Rule?</p>
<p dir="auto">On the Rule setting for a date of receipt for example @14 Days after receipt (date is later than…) where do you set the number of days or weeks or months? I don’t see number field.</p>
</blockquote>
<p dir="auto">The configuration of the smart mailbox (virtual mailbox) selects the real mailboxes that it will operate on. Double-clicking the mailbox name opens the pane that selects the mailbox it applies to. Here is an auto-expunge smart mailbox that operates on messages in multiple mailboxes:</p>
<p dir="auto"><img src="cid:D193B112-EA30-44F6-8230-90B25E75B2EF@randy.pensive.org" width="1073" alt title="smart mailbox.png" style="width: 100%; max-width: 1073px;"></p>
<p dir="auto">In the upper right corner of this pane, there are four icons. The second of these is "Conditions for messages displayed." Click that and add a rule that selects messages that you want to delete. (If you have multiple periods, create a compound condition in parts.) Here are the conditions for the same smart mailbox:</p>
<p dir="auto"><img src="cid:6861BADF-0119-4B4C-9CA5-AC4B000EA4E1@randy.pensive.org" alt title="smart mailbox conditions.png"></p>
<p dir="auto">Select the mailbox and right-click its name, then select "Edit rules" to open the pane for adding, changing, and deleting rules.</p>
<p dir="auto">The rules of the mailbox do the actual permanent deletion. I have two rules, one for messages tagged as "Junk" and the other for messages without the tag.</p>
<p dir="auto">The rule for messages not tagged as junk:</p>
<p dir="auto"><img src="cid:F7ED25C9-4854-4D56-BDEE-5B109FBEDF5C@randy.pensive.org" width="1073" alt title="rule 1.png" style="width: 100%; max-width: 1073px;"></p>
<p dir="auto">The rule for messages tagged as junk:</p>
<p dir="auto"><img src="cid:F238AFF8-F063-48FF-B65D-76BC85934AEF@randy.pensive.org" width="1073" alt title="rule 2.png" style="width: 100%; max-width: 1073px;"></p>
<p dir="auto">As you can see, I use the "Date Received" field as it is the date MailMate received the message from the server. You could use the "Date" header field, but that's set by the sender and could be wrong, or the message might have been delayed in transit (as an example, I have some messages with bad "Date:" header fields, set to years before the message was actually sent).</p>
<p dir="auto">To add "Date-Received", in the Conditions box, select "Other" at the bottom of the list, Type "Date" into the search box, and select "Date-Received".</p>
<p dir="auto">In these examples, the rules include the same conditions as on the smart mailbox itself. This is not necessary: it's fine to have no conditions on the rules, just the action of deleting permanently. The conditions on the smart mailbox do the work of selecting the messages.</p>
<p dir="auto">--Randall</p>
</div>
</div>
</body>
</html>