Comments on SpamAssassin-ClamAV-Procmail-Howto

SpamAssassin-ClamAV-Procmail-Howto This document describes how to install SpamAssassin (for filtering SPAM) and ClamAV (for filtering viruses, trojans, worms, etc.) and how to invoke them by using procmail recipes. It is suitable for scenarios where Sendmail or Postfix deliver emails to local users. It should work (maybe with slight changes concerning paths etc.) on all *nix operating systems. I tested it on Debian Woody so far.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

This is a really great how-to.
I do, however, have a problem.
You said to put "|/usr/bin/procmail -f-" in your home/some-user/.forward file.


1st) Do you need the quotes?
2nd) I sent a message to this user and the server returned the mail as such:
   ----- The following addresses had permanent fatal errors -----
|/usr/bin/procmail -f-
(reason: Service unavailable)
----- Transcript of session follows -----
smrsh: "procmail.-f-" not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable

Obviously, we have a problem with accessing procmail.
Any suggestions on resolving this?
Thanks,
Geodepe

By: admin

To your second problem: you have to tell Sendmail that it's allowed to use procmail. You do it like that:

cd /etc/smrsh

ln -s /usr/bin/procmail procmail

By: Bryon

What if I want to do this with every user in the system?