Spam Filter Mechanics

Wise Choice

© Lead Image © Jakub Jirsak, 123RF.com

© Lead Image © Jakub Jirsak, 123RF.com

Article from Issue 188/2016
Author(s):

Spam filters have different modes of operation. Understanding how they work can help you choose which to use.

These days, the choice of spam filters comes down to Bogofilter [1] and SpamAssassin [2]. Other choices, like DSPAM [3], are no longer in development. A few other choices (e.g., SpamBayes [4]) are available, but when an email reader offers a plugin, it is almost always for either Bogofilter or SpamAssassin.

What is less often discussed is which filter is the best to use in which circumstances. Instead, most users simply nod solemnly when they read that both involve "Bayesian filtering." Most of us – including many who use the phrase – have no idea what Bayesian filtering is, but it sounds scientific and reassures us that either choice is acceptable.

In fact, learning that Bogofilter and SpamAssassin are "Bayesian" is useless for choosing between them. To call them Bayesian means nothing more than their structure is based on the 18th-century work of Thomas Bayes [5] in statistics and probability. More specifically, both apply Bayes' work by collecting words and assigning a probability that each word indicates spam. The more suspect words contained in an email, the greater the chance it is spam. However, to make an informed choice between spam filters requires considerably more detail.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • SpamAssassin

    Even if you do not have a mail server of your own, SpamAssassin can help you filter out unsolicited junk mail. This article describes how SpamAssassin collaborates with Evolution and KMail. Thunderbird, on the other hand, has its own simple spam-detection feature.

  • IMAP spam filter

    We’ll show you a custom solution for moving spam to a separate folder and adding new spam signatures to SpamAssassin.

  • IndiMail 1.6 Includes Greylisting and BATV

    IndiMail, an email solution made of open source components, now includes greylisting spam filtering in version 1.6.

  • Spam Test

    Spam filters can help smooth the waves in your inbox, as long as they are reliable and don’t have too many side effects. We’ll show you what we found when we tested five antispam appliances and two service providers.

  • SpamAssassin 3.3.0 Splits Off Rules

    With version 3.3.0, the free spam filter SpamAssassin has its first big release since May, 2007.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News