[MlMt] Compound "is in" rule ... ?

Randall Gellens mailmate at randy.pensive.org
Mon Nov 4 17:57:55 EST 2024


On 4 Nov 2024, at 10:47, Robert Wall wrote:

> Harry, thanks for replying. This is what I have:
>
> * A folder called “SubjectSenderFilter”. This is a regular folder 
> where I put messages that I want to filter. It has two messages in it:
>     * From: “Amazon Subscribe & Save”, Subject: “Review your 
> upcoming delivery”
>     * From: “Robert Wall”, Subject: “Your Invoice”
> * A smart folder with two rules, “All” need to be true:
>     * From->Name is in “SubjectSenderFilter” From->Name
>     * Subject is in “SubjectSenderFilter” Subject
>
> I sent myself a test message:
>
> From: “Robert Wall”, Subject: “Review your upcoming delivery”
>
> In other words, deliberately using a sender from one message and a 
> subject from another. My smart folder matches my test message, and it 
> shouldn’t.
>
> The whole idea of this is that I can throw random messages that I get 
> repeatedly in this folder, so it auto-moves them - but that doesn’t 
> work if I can’t ensure “from” and “subject” are matching the 
> same message.

If I understand, you want to manually move messages to an IMAP mailbox 
that contains template messages, and then have a virtual mailbox that 
selects messages in other mailboxes that match messages in the template 
mailbox. So, any message in other mailboxes whose "From:" and "Subject:" 
header fields are identical to any message in the template mailbox is 
selected by the virtual mailbox.

I can't think of a way to do that with MailMate's filtering ruleset.

--Randall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20241104/e5a99e6a/attachment.htm>


More information about the mailmate mailing list