[MlMt] Is there a way to schedule rules running in MailMate?
Randall Gellens
mailmate at randy.pensive.org
Thu Apr 28 18:03:47 EDT 2022
On 22 Apr 2022, at 8:44, Charlie Clark wrote:
> On 21 Apr 2022, at 22:29, Robert Wall wrote:
>
>> TL;DR - I'd like to be able to fire off the mail rules for a given
>> folder once per day.
>>
>> Longer explanation:
>>
>> I have a server that sends me status emails. A lot of status emails.
>> And I need to receive these status emails not because I want to read
>> every single one, but because if something goes sideways I need to be
>> able to poke through the messages for clues / hints.
>>
>> I don't need to keep these messages longer than a couple of weeks -
>> 30 days max.
>>
>> And I have other situations where I'll get 3 or 4 messages for the
>> same thing. Amazon order placed, Amazon order shipped, Amazon order
>> delayed, Amazon order delivered being a good example. I only need to
>> keep the last one.
>>
>> So I have some existing rules that I can fire off manually which will
>> look for stuff with certain subject lines / senders that's older than
>> 30 days or so, and clean those up - but I still have to run them
>> manually.
>>
>> I'm more than happy to use cron, launchd, or some sort of system
>> automation to tell MailMate to do this if that's what's required. Or
>> if there's a way in the software itself, that would be wonderful as
>> well.
>>
>> Any thoughts?
>
> Yes. Based on something Bill Cole mentioned a while back I set up a
> virtual folder to collect such messages with a condition "date
> received is not within last" 30 days and a rule to delete the mails
> permanently.
>
> This needs better documentation but shows the power and flexibility of
> MailMate's approach.
This is what I do for all my archive and auto-delete functions, but it
seems to me that the rules in the smart mailbox don't always fire until
I click on the mailbox to view it, a bit like Schrödinger's mailbox. I
also find this behavior in general, e.g., I see a new message arrive in
my main Inbox that should have been moved by a rule to a different
mailbox, but instead it sits in my Inbox for hours (maybe longer) but if
I click on the mailbox to which it should have been moved, there it is
and it's gone when I switch back to the Inbox. It seems that, for
whatever reason, rules don't always trigger or at least the effect of
them running isn't always visible. But other times they do seem to run
automatically.
--Randall
More information about the mailmate
mailing list