Guide: Filter Mail with SpamAssassin

Issue/Question

  • How do I use SpamAssassin tags to filter unwanted email?

Environment

  • Oregon State University
  • Employee, Student or Associate
  • Email

Explanation

What is SpamAssassin?

Oregon State University uses SpamAssassin to tag inbound email that appears to be spam. You can use these SpamAssassin tags to filter junk mail out of your mailbox.

Example headers that you can filter on:

X-Spam-Flag: YES
X-Spam-Level: ********
 (a # of stars indicating the likeliness that this is spam)

When creating a rule in your e-mail program to filter mail based on SpamAssassin tags, you have the choice of either using the "X-Spam-Flag" header, or the "X-Spam-Level" header. The X-Spam-Flag header will be set to YES whenever the message has a SpamAssassin score of 5 or higher. If you would like to catch messages with a score of 3 or more instead, you can create a rule that looks for this header:

X-Spam-Level: ***

How To Use SpamAssassin

Select the link for SpamAssassin instructions for your email client:

 

For assistance, contact the IS Service Desk.

Details

Article ID: 80694
Created
Wed 6/12/19 5:07 PM
Modified
Wed 6/12/19 5:28 PM