Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MCAsan

macrumors 601
Original poster
Jul 9, 2012
4,587
442
Atlanta
Anyone know how in mail to right a rule set thet deletes email from all domains except a few such as com, org, net, or gov?

Tons of spam are showing up from all the funky new domains. It gets old specifying every domain to delete.
 
Anyone know how in mail to right a rule set thet deletes email from all domains except a few such as com, org, net, or gov?

Tons of spam are showing up from all the funky new domains. It gets old specifying every domain to delete.

Create a new mailbox, call it "spambucket"
At the end of your list of rules, create a new (last) rule:

If [ ANY ]
"From" "ends with" ".com"
"From" "ends with" ".net"
"From" "ends with" ".org"
Action
"Stop evaluating rules"

Then create a new "last" rule, after all others:

If [ ANY ]
"Sender is not in my contacts"
Action
"Move Message" "spambucket"

Let that evaluate new messages for awhile, adjust appropriately, and when you are
comfortable, only then change the Action to "Delete Message"
 
Make two rules:
Rule1:
Rule1.jpg


Rule 2
Rule2.jpg


You can of course change the conditions and actions to suit, but just make sure Rule1 includes the final action to "Stop evaluating rules", otherwise all your mail will end up in the Spam folder.
 
  • Like
Reactions: rottnjohn
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.