Re: [MlMt] Is there a way to schedule rules running in MailMate?

2022-04-28 Thread Bill Cole

On 2022-04-28 at 18:03:47 UTC-0400 (Thu, 28 Apr 2022 15:03:47 -0700)
Randall Gellens 
is rumored to have said:

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.


This is an IMAP artifact. You don't see the message in the new location 
until you resynch the new location.


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] remove text from incoming/outgoing emails

2022-04-28 Thread Randall Gellens

On 25 Apr 2022, at 9:02, Martin Dege wrote:

I want to purposefully remove them from incoming messages. That was my 
question. - so I don’t have to remove them every time something is 
forwarded.


This (editing messages) has come up before. Someone mentioned that there 
was a command to edit a message that they were trying to create a bundle 
to use. I'm not aware of any way to edit messages. I wish there was. Mac 
Eudora had an "edit" feature (only available in advanced mode) that 
allowed one to edit a message. When finished editing, Eudora would use 
IMAP APPEND to upload the edited message and would delete the original 
message. I found it extremely helpful to add notes and follow-up.


In your specific case, all I can think of would be to have a rule that 
exported the message to a folder, then have a shell script or Automator 
action, set to run when a file is added to the folder, that deleted the 
text and then re-sends the message to you using the command-line emate 
tool. I don't know if it would work to set the "From" to the original 
sender's "From" (your server might block it) but if so that would be the 
closest to what you want that I can think of.


--Randall
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Is there a way to schedule rules running in MailMate?

2022-04-28 Thread Randall Gellens

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
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate