SpamAssassin

Virtual Users And Domains With Postfix, Courier And MySQL

The following are a serie on "Virtual Users And Domains With Postfix, Courier And MySQL (CentOS 5.1)" in howtoforge:

Tuning Postfix and Its Accessories

authdaemond

You can change the number of authdaemond processes in the file /etc/courier/authlib/authdaemonrc:

daemons=2

This line sets the number of authdaemond processes to 2.

saslauthd

To change the number of saslauthd processes, edit the file /etc/conf.d/saslauthd (in Gentoo):

SpamAssassin and ClamAV for Postfix on Gentoo

Install Spamassassin, ClamAV, and Amavisd-new

You can just run emerge on these packages. Note that as of today, the mail-filter/spamassassin in Portage is still version 3.2.1, which is a bit old. If you want the latest, you can find the latest dev version from Gentoo mail-filter category packages page. To install the masked mail-filter/spamassassin-3.2.5, put the following line in /etc/portage/package.keywords:

Multiple Mail-hosting Systems on Gentoo with Postfix and Courier

USE flags:

In /etc/make.conf, add the following to USE

imap libwww maildir sasl ssl

In /etc/portage/package.use, add the following lines:

sa-compile error: failed to parse line, skipping, in ".../local.cf": check_mx_attempts 1

We got this error when we tried to run sa-compile to compile the rulesets in SpamAssassin:

#  sa-compile
[30917] info: config: failed to parse line, skipping, in ".../local.cf": check_mx_attempts 1
netset: cannot include 127/8 as it has already been included
......
sa-compile: not compiling; 'spamassassin --lint' check failed!

SpamAssassin Useful References

Books

Websites and articles

Configuration tips