Use a Mail.app rule to stop Far East spam

Apr 24, '03 09:57:00AM

Contributed by: Anonymous

In the last few months, I've been receiving a heap of spam from China. Luckily, I've found a way to identify mail in Mail.app with that character set so that it can be marked as junk. To do this:

  1. Select Mail -> Preferences -> Rules
  2. Select Junk -> Edit
  3. Select (+) to add a new rule.
  4. Click on the "From" drop-down and select "Edit Header List..."
  5. Add "Content-Class" by typing "Content-Class" in the "Header:" text box and then hit "Add Header" and "OK."
  6. Set the first pop-up on your new rule to Content-Class, the second to Contains, and the third to charset="gb2312".
  7. Select (+) to add a new rule.
  8. Set the pop-ups to Subject, Contains, and charset="gb2312".
  9. Select (+) to add a new rule.
  10. Set the pop-ups to From, Contains, and charset="gb2312".
  11. Click the "OK" button to end the rule definition.
I'm happy to say that this gets 100% of the Far East spam that I was receiving!

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030423092620418