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

Subject Rewriting


SpamAssassin allows the subject of an email to be rewritten if it is thought to be spam. If a user has an email client that cannot filter messages based on email headers such as X-Spam-Status, then this feature can be used. It will assist users in separating spam from ham in their inbox.

Some email clients, such as Outlook Express, cannot filter email by using the values of particular email headers, but can use the Subject of an email for filtering. If such an email client is used, then rewriting the subject may be the only way to automatically move spam to a folder. Email client configuration is covered in Chapter 17.

SpamAssassin applies a prefix to the subject. It is specified with the subject_tag directive in local.cf or user_prefs files, and can be turned on or off with the rewrite_subject entry in the same files.

rewrite_subject 1
subject_tag *****SPAM*****

Set rewrite_subject to 1 to turn on the annotation of the subject line, and to 0 to turn it off.

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}