Changes between Initial Version and Version 1 of faq/email/sa-filter-spam


Ignore:
Timestamp:
Aug 22, 2007, 4:31:04 AM (18 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/email/sa-filter-spam

    v1 v1  
     1== How do I use Spam Assassin to filter email with my email client? ==
     2
     3Note: this page specifically addresses using filters to deal with unwanted bulk email. Filters can be used for many purposes and for instructions on creating and using filters in general go to the [wiki:filter_mail Using Filters in Your Email Program] help screen. In addition, if you use our webmail program (Horde/Imp or !SquirrelMail) specific directions for filtering spam with these programs are [wiki:filter_spam_webmail here].
     4
     5To use Spam Assassin, you create a filter to catch Spam Assassin's "flags".
     6
     7You can do this two ways, depending on the email client or webmail program you are using.
     8
     9All email clients let you create a filter for the Subject line. So you create a filter with
     10
     11*****SPAM*****
     12
     13as the filter's trigger -- the box that will say something like "contains" or "text". Email filters catch all email in the subject line that contains the trigger phrase so, since the subject is going to change with each email, you just include the part you are sure will appear in all spam. That's what we just wrote above.
     14
     15Some email programs also let you create a filter for "any header" and if yours does,  you can make a filter with the flag line
     16
     17X-Spam-Status: YES
     18
     19as the filter's trigger and have your program send the affected email to a special box (either trash or, if you want, a box you create -- you can call it "spam" for example). This method isn't recommended but it's possible so we include it.
     20
     21The basic idea is that you are telling your email program to filter all messages that have the trigger line. In this way, you're using Spam Assassin as a kind of detective.