Spamassassin and clamav

We recently switched our mail servers to the fantastic QMail Toaster package. It works on most common Linux distributions that make use of the RedHat package manager. Now I have some addons ready for it. If you use QMail Toaster and would like to reduce Spam and Viruses, try my addon-packages from the toaster addon dir. Do not ask for binary packages, I think there is something in Dan Bernsteins license disallowing that.

Installation is pretty easy. Install all current QMail Toaster packages (howto available here) and then do the following:

rpmbuild –rebuild /usr/src/redhat/SRPMS/clamav-0.60-4.src.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/clamav-db-0.60-4.i386.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/clamav-0.60-4.i386.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/clamd-0.60-4.i386.rpm
rpmbuild –rebuild /usr/src/redhat/SRPMS/spamassassin-2.55-1.src.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/perl-Mail-SpamAssassin-2.55-1.i386.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/spamassassin-2.55-1.i386.rpm
rpmbuild –rebuild –with rht90 /usr/src/redhat/SRPMS/qmail-scanner-toaster-1.03-1.0.2.src.rpm
(where rht90 should be replaced with your system
rpm -ivh /usr/src/redhat/RPMS/i386/qmail-scanner-toaster-1.03-1.0.2.i386.rpm

Now what is left to do?
Go to /var/qmail/bin and edit ! You will find some settings at the top like you domain name and a list of you mail domains. We have defined some sample values there, so you should easily find out, which things have to be changed.

Additionaly you might want to check /etc/mail/spamassassin/ ! There you can define you default setting for SpamAssassin and configure stuff like database backend for user settings or the required hit points, etc.

If any questions come up, feel free to contact me or send mail to the Qmail-Toaster user list where I am also reading and writing.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.