[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Antivirus/Antispyware/Antiadware for linux?



I am running clamav attached to sendmail, seems to pick up viruses and some phishes...very easy to set up.

Adding clamav

Firstly download and install the clamav packages with apt-get.

clamav - Antivirus scanner for Unix
clamav-base - Base package for clamav, an anti-virus utility for Unix
clamav-daemon - Powerful Antivirus scanner daemon
clamav-freshclam - Downloads clamav virus databases from the Internet
clamav-milter - Fast antivirus scanner for sendmail
clamav-testfiles - Use these files to test that your Antivirus program works
libclamav1 - Virus scanner library
libclamav1-dev - Clam Antivirus library development files


Next insert the line below into /etc/mail/sendmail.mc and run sendmailconfig.
In sendmailconfig say yes to rebuild sendmail using existing sendmail.conf and sendmail.mc, then restart sendmail.
Clamav should now be active.

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clamav-milter.ctl, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')dnl

>From now on your mail.log should show lines similar to below,


Nov  9 10:09:11 katrina sm-mta[11215]: iA8L96C3011215: from=, size=3829, class=-60, nrcpts=1, msgid=<2004110831721.QNJ57067@stixxx.fesans.org>, proto=ESMTP, daemon=MTA, relay=stinxxxx.rdsans.org [65.173.218.117]
Nov  9 10:09:12 katrina sm-mta[11215]: iA8L96C3011215: Milter add: header: X-Virus-Scanned: ClamAV 0.80/564/Sat Oct 30 03:58:02 2004\n\tclamav-milter version 0.80j\n\ton katrina.thing.dyndns.org
Nov  9 10:09:12 katrina sm-mta[11215]: iA8L96C3011215: Milter add: header: X-Virus-Status: Clean
Nov  9 10:09:12 katrina sm-mta[11218]: iA8L96C3011215: to=, delay=00:00:04, xdelay=00:00:00, mailer=local, pri=142187, dsn=2.0.0, stat=Sent

clamav setup should now be complete.


regards

thing

-----Original Message-----
From: Rick Friedman [mailto:RickFriedman@vfemail.net]
Sent: Wednesday, 17 November 2004 10:41 a.m.
To: debian-user@lists.debian.org
Subject: Re: Antivirus/Antispyware/Antiadware for linux?


Paul Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Will Ness <wilderness48@gmail.com> writes:
> 
> 
>>F-Prot is a good linux anti-virus for linux. Spyware, you got me, but
>>as earlier posters said, be smart about how you use your browser and
>>you will be generally ok.
> 
> 
> But F-Prot sucks by default because it is nonfree.  Check out clamav
> instead.  http://www.clamav.net/

Hmmm... except F-Prot for Linux for the workstation is free for personal 
use.

Rick
--
  "Don't use a big word where a diminutive one will suffice."


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: