How do I create an email filter with complex logic?
Solution 1:
Still hoping for a better solution, but here's a compromise that seems to work (mostly, the occasional mail with the group in the CC or BCC field still slips through)...
- Set the Yahoo group to send individual messages, not the "digest".
- Optionally, create a triage folder,
_Yahoo group, triage
. -
Create 4 filters, as follows:
Filter, "Yahoo group 1, Ignore bad users":
- Set to
Match any...
- Set filter conditions to
From
,is
,[email protected]
, etc. - Set actions to
Mark As Read
, thenMove Message to Trash
.
Filter, "Yahoo group 2, Keep good posts":
- Set to
Match any...
- Set the first filter condition to
To
,isn't
,[email protected]
- Set filter conditions of
From
,is
,[email protected]
, etc. - Set filter conditions of
Body
,contains
,keyWord_1
, etc. -
Important! The action should just be
Stop Filter Execution
.
Filter, "Yahoo group 3, Kill Re:":
- Set to
Match any...
- Set filter condition 1 to
Subject
,begins with
,Re:
. - Set filter condition 2 to
Subject
,begins with
,[GroupName] Re:
. - Set actions to
Mark As Read
, thenMove Message to Trash
.
Optional Filter, "Yahoo group 4, Move unknown posts to triage folder":
- Set to
Match any...
- Set filter condition 1 to
To or Cc
,contains
,[email protected]
. - Set filter condition 2 to
Bcc
,contains
,[email protected]
.
If you do not know how to set the Bcc filter, don't worry about it, for now. - Set actions to
Mark As Read
, thenMove Message to _Yahoo group, triage
(The optional folder, you set up for this purpose).
- Set to
-
Because one of the filters stops the filtering process, it is very important that these four filters be placed, in order, at the bottom of the Message Filters list (so that they run last) -- because the second filter will prevent any but the Yahoo group filters from running after it.
Obviously, if any previous filters might fire a
Stop Filter Execution
, on a Yahoo Group email, then this whole approach will fail.