Filtering Unwanted E-mail in OS X Mail for Mac OS X v 10.4/10.5 Using VT Mail
Time to Complete (in minutes): 30
- Question:
- How do I create a rule in OS X Mail for Mac OS X v 10.4/10.5 that will filter unwanted e-mail messages from my VT Mail account?
- Answer:
-
The best way to avoid unwanted e-mail (often known as spam) is to protect the privacy of your e-mail address. This article offers a tactic for filtering unwanted messages once your address has become known to those who send mass mailings. This technique takes advantage of header information added by Virginia Tech's spam identification system. For information about other techniques for handling unwanted messages, see Receiving Unwanted E-mail Messages (Often Known as spam) (http://answers.vt.edu/kb/entry/1064/).
The Virginia Tech mail servers tag all incoming e-mail that they suspect to be unsolicited messages (also known as spam) with a special header string beginning with "X-Junkmail" or "X-JunkMail". To filter messages with this header, create a new folder. Then, using the Message Filters tool, create a rule that puts all messages with "X-Junkmail" and "X-JunkMail" in the header into that folder. To do this:
Important: Mail must come through the Virginia Tech mail servers in order to apply this rule. These instructions will not work if you forward your VT Mail messages to an outside mail account, such as Yahoo! or Hotmail.
To filter unwanted messages:
- Start OS X Mail.
- Create a new mailbox.
- From the Mailbox menu, select New Mailbox.
- From the Location: drop-down list, select On My Mac.
- In the Name text box, type: Junkmail
- Click OK.
- From the Mail menu, select Preferences....
- Click the Rules icon.
- Click the Add Rule button.
- In the Description: text box, type: Junkmail Rule
- Under If any of the following conditions are met:, from the first drop-down list, select Edit Header List....
- In the Message Headers box, click on + or the Plus button.
- In the text box, type: X-Junkmail
- Click OK.
- Under If any of the following conditions are met:, from the first drop-down list, select Edit Header List....
- In the Message Headers box, click on + or the Plus button.
- In the text box, type: X-JunkMail
- Click OK.
- From the first drop-down list, select X-Junkmail.
- From the second drop-down list, select Contains.
- In the text box, type: UCE
- Click the Plus button.
- In the new set of lists, from the first drop-down list, select X-Junkmail.
- From the second drop-down list, select Contains.
- In the text box, type: RBL
- Click the Plus button.
- In the new set of lists, from the first drop-down list, select X-Junkmail.
- From the second drop-down list, select Contains.
- In the text box, type: Blacklisted
- Click the Plus button.
- In the new set of lists, from the first drop-down list, select X-JunkMail.
- From the second drop-down list, select Contains.
- In the text box, type: UCE
- Click the Plus button.
- In the new set of lists, from the first drop-down list, select X-JunkMail.
- From the second drop-down list, select Contains.
- In the text box, type: RBL
- Click the Plus button.
- In the new set of lists, from the first drop-down list, select X-JunkMail.
- From the second drop-down list, select Contains.
- In the text box, type: Blacklisted
- Under Perform the following actions:, from the first drop-down list, select Move Message.
- Under Perform the following actions:, from the second drop-down list, go to On My Mac.
- Select Junkmail.
- Click OK.
- Close the Rules window.
Important: Be sure to check the contents of your junk mail folder before deleting the e-mail messages. The mail system's spam filters may sometimes mark messages that you wish to receive as junk mail.