sieve filters that sometimes don't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"] "XXX@ipom.com",
       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" <billing@xxxxxxxxxxxxxxxxxx>
To: <XXX@ipom.com>
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" <donotreply@xxxxxxxxxxxxxxxxxxxxxxxxxx>
To: XXX@ipom.com
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!

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux