Changes between Version 4 and Version 5 of faq/email/sa-filter-spam


Ignore:
Timestamp:
Sep 7, 2011, 12:22:48 PM (9 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

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

    v4 v5  
    99All email clients let you create a filter for the Subject line. So you create a filter with
    1010
     11{{{
    1112*****SPAM*****
     13}}}
    1214
    1315as 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.
     
    1517Some email programs also let you create a filter for "any header" and if yours does,  you can make a filter with the flag line
    1618
     19{{{
    1720X-Spam-Flag: YES
     21}}}
    1822
    1923as 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 is the preferred method. It is better than the subject line method because someone might forward you a message with '*****SPAM****' in the subject line (maybe because they are pointing out that a message you sent them was tagged as spam). This message will get moved to your spam box even though it isn't spam. Using the X-Spam-Flag approach ensures that only messages that are tagged as spam will get filtered.