http://sourceforge.net), the open source world’s two most popular software directories, you know that there are simply too many interesting projects to keep an eye on. Each month we will highlight one open source project selected by our editors.

" />
x
Loading
 Loading
Hello, Guest | Login | Register

SpamAssassin

Welcome to our newest feature in Linux Magazine, the Project of the Month. If you’ve ever visited Freshmeat (http:// freshmeat.net) or SourceForge (http://sourceforge.net), the open source world’s two most popular software directories, you know that there are simply too many interesting projects to keep an eye on. Each month we will highlight one open source project selected by our editors.

Welcome to our newest feature in Linux Magazine, the Project of the Month. If you’ve ever visited Freshmeat (http:// freshmeat.net) or SourceForge (http://sourceforge.net), the open source world’s two most popular software directories, you know that there are simply too many interesting projects to keep an eye on. Each month we will highlight one open source project selected by our editors.

Project (SpamAssassin)

Project Summary

SpamAssassin (SA for short) is all about eliminating spam (unwanted e-mail). It’s a rapidly evolving suite of tools for detecting and filtering spam.

How It Works

At its core, SA is a library of Perl code that can apply a set of tests to an e-mail message and give it a score based on how many tests the message “passes.” The tests are written in a Perl-like format that should still be readable to the average Linux user.

A simple rule is illustrated in Figure One. The first line tells SA that this test, MAKE_MONEY_FAST, should only be applied to the message header — specifically, the Subject line. It checks if the message subject contains “Make Money Fast” no matter how the phrase is capitalized (the trailing i means the search is case-insensitive).

Figure One: A Simple SpamAssassin Rule

 header MAKE_MONEY_FAST Subject =~ /Make Money Fast/i describe…

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. KDE 4.4: Does It Work Yet?
  2. Writing Custom Nagios Plugins with Python
  3. Power Up Linux GUI Apps
  4. Tweeting from the Command Line with Twyt
  5. When Memory Serves You: Using ramfs and tmpfs
Follow Linux Magazine
Rackspace