Hit Manual: Installing And Configuring SpamAssassin

SpamAssassin and ClamAV are a Linux mail server's best friends -- and a spammer's worst enemies. If you're comfortable working on the Linux command line and using a text editor, we'll show you how install and configure these powerful spam- and malware-killing tools.
Testing Your Configuration

You can now test your configuration by sending .exe attachments, sample SPAM and sample viruses (if you have some) to testuser. Look at the header of received emails. It should contain the following lines:

X-Security: MIME headers sanitized on See for details. $Revision: 1.140 $Date: 2004-02-11 20:47:43-08
X-Virus-Scan: Scanned by TrashScan v0.08 running on
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on


The following links point to the open-source organizations responsible for these tools. They're a great source of additional information, as well as the latest source code and builds:

- SpamAssassin:
- ClamAV:
- Procmail:
- Email Sanitizer:

About the author: Falko Timme is a Senior System Developer and Linux expert at projektfarm GmbH, Germany, which develops a control panel for Linux web servers (42go ISP-Manager) and spam filtering appliances for enterprises (42go SPAM-Filter). He publishes Linux howtos on his personal web site on a regular basis that cover a lot of aspects of his daily work with Linux and are inspired by questions and feedback of projektfarm customers as well as readers of his web site.

Comments? Questions? Requests for future how-to articles? Write Linux Pipeline Editor Matt McKenzie -- your feedback is always welcome.

Editor's Choice
Brian T. Horowitz, Contributing Reporter
Samuel Greengard, Contributing Reporter
Nathan Eddy, Freelance Writer
Brandon Taylor, Digital Editorial Program Manager
Jessica Davis, Senior Editor
Cynthia Harvey, Freelance Journalist, InformationWeek
Sara Peters, Editor-in-Chief, InformationWeek / Network Computing