Here's how to install
Here's how to install ClamAV and SpamAssassin, and then configure Exim to use them for scan- ning messages:
1. Install the ClamAV and SpamAssassin packages:
# apt-get install clamav-daemon clamav-testfiles \spamassassin spamc
You'll be asked a number of questions about how ClamAV should be configured. Here's
how to answer them:
Virus update method - This is the method that freshclam (part of ClamAV) will use to download updated virus databases. The recommended option is to run freshclam as a daemon.
Local database mirror site - This is the site that freshclam will retrieve the virus information updates from. The second part of the site is the two-letter country code. Select your country code or that of a nearby country if yours isn't available.
HTTP proxy information - Do not enter anything here unless you are required to use a proxy server to access Web servers. If your connection is suitable for running a mail server, then you probably don't need to use a proxy server. Notify clamd after updates - Select "yes" here.
2. Add the clamav user to the Debian-exim group and restart the ClamAV daemon. This allows the ClamAV daemon access to read the files in Exim's mail queue:
# gpasswd -a clamav Debian-exim
# invoke-rc.d clamav-daemon restart
The continuation/full version of this article read on site - www.podgrid.org - Linux Bible