O'Reilly logo

SpamAssassin by Alistair McDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter discussed the building blocks of SpamAssassin—rules. SpamAssassin allows the user to define rules to respond to the spam a site is currently receiving. There are a variety of rule types for processing different parts of the email.

User-defined rules are based on Perl regular expressions. Rule scoring is an important part of SpamAssassin filtering techniques.

Using a corpus and calculating the effectiveness of rules can assist in re-scoring rules to improve filtering. Several custom rulesets can be added to a site, and these should be frequently updated.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required