| Article: vtkb2273.htm |
| Difficulty: Medium |
| Time to Complete (minutes): 30 |
| Last Updated: Jan 24, 2008 |
Question:
How do I create a rule in OS X Mail for Mac OS X v 10.3 and 10.4 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 (http://www.answers.vt.edu/ask4help/email/vtkb1064.htm)
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.
-
In Mac OS X v 10.3: From the Mailbox menu, select New.
-
In Mac OS X v 10.4: 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 Header text box, type: X-Junkmail
-
Click the Add Header button.
-
In the Header text box, type: X-JunkMail
-
Click the Add Header button.
-
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:
-
In OS X Mail for Mac OS X v 10.3, select Transfer Message.
-
In OS X Mail for Mac OS X v 10.4, select Move Message.
-
Under Perform the Following Actions, from the second drop-down list:
-
In OS X Mail for Mac OS X v 10.3, select Junkmail.
-
In OS X Mail for Mac OS X v 10.4, go to On My Mac, then 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.