Book Image

SpamAssassin: A practical guide to integration and configuration

Book Image

SpamAssassin: A practical guide to integration and configuration

Overview of this book

As a busy administrator, you know Spam is a major distraction in todays network. The effects range from inappropriate content arriving in the mailboxes up to contact email addresses placed on a website being deluged with unsolicited mail, causing valid enquiries and sales leads to be lost and wasting employee time. The perception of the problem of spam is as big as the reality. In response to the growing problem of spam, a number of free and commercial applications and services have been developed to help network administrators and email users combat spam. Its up to you to choose and then get the most out of an antispam solution. Free to use, flexible, and effective, SpamAssassin has become the most popular open source antispam application. Its unique combination of power and flexibility make it the right choice. This book will now help you set up and optimize SpamAssassin for your network.
Table of Contents (24 chapters)
SpamAssassin
Credits
About the Author
About the Reviewers
Introduction
Glossary

Integrating SpamAssassin into the MTA


The following instructions describe how to integrate SpamAssassin into a number of popular MTAs. Once SpamAssassin has been integrated into the MTA, basic MTA configuration should be tested and the user should confirm that SpamAssassin headers are being added to emails.

Sendmail

There are several methods of integrating SpamAssassin into sendmail. Sendmail has a plug-in architecture known as milter. There are several milters available for use with SpamAssassin. Here we will discuss only MIMEDefang.

Sendmail Milter Support

To use MIMEDefang, milter support must be built into sendmail. For sendmail versions 8.13 onwards, this is the default. If sendmail was supplied in a package, for example RPM, then the distributor may or may not have included this.

To test for milter support, issue the following command and examine the results:

# /usr/sbin/sendmail -bt -d0.1 </dev/null
Version 8.12.10
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8MIME8TO7NAMED_BIND...