Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
SpamAssassin: A practical guide to integration and configuration

You're reading from  SpamAssassin: A practical guide to integration and configuration

Product type Book
Published in Sep 2004
Publisher Packt
ISBN-13 9781904811121
Pages 240 pages
Edition 1st Edition
Languages

Table of Contents (24) Chapters

SpamAssassin
Credits
About the Author
About the Reviewers
1. Introduction
1. Introducing Spam 2. Spam and Anti-Spam Techniques 3. Open Relays 4. Protecting Email Addresses 5. Detecting Spam 6. Installing SpamAssassin 7. Configuration Files 8. Using SpamAssassin 9. Bayesian Filtering 10. Look and Feel 11. Network Tests 12. Rules 13. Improving Filtering 14. Performance 15. Housekeeping and Reporting 16. Building an Anti-Spam Gateway 17. Email Clients 18. Choosing Other Spam Tools Glossary

General Configuration Rules


Most email clients allow rules or filters to be created. These typically come into action when one or more events occur, such as receiving new email, reading email, and sending email. For spam to be removed from the inbox automatically, the rule should run when new email is retrieved.

Rules act on the value of a header. If the email client allows rules to run based on the value of a specific header, then it is best to use the X-Spam-Status: header, and search for the value Yes.

The procedure for moving tagged email messages into a separate folder is outlined below:

  1. 1. Create a folder (or mailbox) for holding spam email. The folder name should be intuitive, for example, Spam.

  2. 2. Create a rule to be executed when emails arrive. The rule should look for the text X-Spam-Status: Yes in the message header. Check the text for a real spam message and use that, if it is different from the text shown here.

  3. 3. The action on the rule should be to move the message to the spam...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}