You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bob Proulx <bo...@proulx.com> on 2004/03/06 20:54:47 UTC

Re: Linking ClamAV into procmail? (SUMMARY)

Charles Gregory wrote:
> Well, personally, I am already subscribed to too many lists, but really do
> need to get a high-efficiency combination of SA and anti-virus operating
> from a simple interface like procmail. So for me it's a little bit
> appropriate to this list (SA) because I am trying to CHOOSE an anti-virus
> solution that works well with SA (which means I can't pick an anti-virus
> list to subscribe to just yet). While technically it might be more fitting
> to ask on the procmail list, I really only want the solutions used by
> fellow SA users, so, here we are.... :-)

If you have not gone the clamav route yet but are still looking for a
procmail based solution then let me recommend Yet Another Virus
Recipe.  It is very simple and works from a procmailrc file.

  http://agriroot.aua.gr/~nikant/nkvir/

Subscribe to the freshmeat.net project and get notices of updates.
But frankly as a virus checker it will always have continuous updates
so better just to put a cronjob in to update it automatically.

  http://freshmeat.net/projects/yavr/

Quickstart guide for a single user local installation.
Assuming ~/Mail is MAILDIR and you can adjust accordingly.

  cd ~/Mail/
  wget http://agriroot.aua.gr/~nikant/nkvir-rc
  mkdir virus

Then in your ~/.procmailrc file above the spamassassin filtering put
the following:

  NIGSCAM=OFF
  PORNSPAM=OFF
  INCLUDERC=$MAILDIR/nkvir-rc

Since I use SpamAssassin for the spam filtering I turn the spam
filtering here off and just use the virus scanning feature.  I scrape
the viruses out before SA becuase I don't need SA bayes to be learning
about the viruses which are directly identifiable by their signatures.

Bob

P.S. Really behind in the lists...