Trying to set up qmail with Spamassassin
I have an email server running qmail on Mandrake 9, have SpamAssassin installed. I have been unable to get qmail to invoke SA thus far. Have tried the instructions that came with SA, but my service directory is empty, and I do not know how to perform the actions as described in the alternate directions (I do not know anything about the MAILQUEUE variable), I have tried unsuccesfully to implement changes to qmail-queue as decribed in various tutorials such as this one:
mv /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.orig
Create a new /var/qmail/bin/qmail-queue script that looks like this:
spamc -f | /var/qmail/bin/qmail-queue.orig
Most other tutorials are some minor variation on this. Attempting to do this simply causes qmail to stop processing new emails (in or out).
Any help is appreciated.