I have a sieve filter... and it sometimes doesn't seem to work. I can't figure out why. Here's an example:
> if anyof(
> allof(
> header :contains ["To", "Cc"] "[email protected] <mailto:[email protected]>",
> anyof(
> header :contains "From" [
> "emails.xfinity.com",
> "t-mobile.com",
> "farmers.com"
> ],
> allof(
> header :contains "From" "msmc.com",
> header :contains "Subject" "new statement"
> )
> )
> ),
> # some special cases here that don't go to XXX, doesn't
> # matter for this
> allof(
> ...
> ),
> allof(
> ...
> )
> )
> {
> fileinto "bills-parents";
> stop;
> }
And here's headers from an email that didn't seem to catch this rule:
> From: "Farmers Insurance" <[email protected]>
> To: <[email protected] <mailto:[email protected]>>
> Subject: Your Farmers Insurance bill is ready to be viewed
Date: Wed, 11 Jan 2023 16:18:57 -0600
Farmers.com NEVER triggers this rule, but T-Mobile (and other domains in that 'from' list) always do. Here's an email that DOES trigger it:
> From: "T-Mobile USA" <[email protected]>
> To: [email protected] <mailto:[email protected]>
> Subject: Your T-Mobile bill is ready to view
> Date: Wed, 11 Jan 2023 17:08:59 -0500
I've looked for various testing/debugging tools that you could feed a message and a rule into, but most of the ones I find referenced are no longer online. Any help would be greatly appreciated. Thanks!
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T2f012b160cebf95e-Mbef2f2f70782f24cc3ade290
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.