On Fri, 2004-01-30 at 16:29, Paul Stear wrote:
> hi all,
> I use kmail and have installed clamav.  I updated clamav db using freshclam 
> and then run clamscan on my mail dir, it found 4 infected files:-
> 
> /home/paul/Mail/trash/cur/1075475535.2312.nh0h: Worm.Gibe.F FOUND
> /home/paul/Mail/trash/cur/1075475726.2312.qiyM: Exploit.IFrame.Gen FOUND
> /home/paul/Mail/trash/cur/1075475722.2312.Z2xn: Worm.Gibe.F FOUND
> /home/paul/Mail/trash/cur/1075475538.2312.xlv0: Exploit.IFrame.Gen FOUND
> 
> I have 3 questions
> 1.    How can I get freshclam ( runs as root ) to run once each day when I switch 
> my computer on?

install anacron and put a freshclam script in /etc/cron.daily
Anacron will make sure that cron commands are run on systems that are
not always on.

> 2.    How can I set things up so that clamscan runs and checks the mail either 
> during or straight after loading from my isp?

I'm not 100% sure about kmail, but I have this in Evolution.
Use a filter that parses the mail through a shell script, you can use
the exit code of clamscan to determine if a mail is infected, and
determine an action.

> 3.    How do I get the infected files deleted automatically so there is no chance 
> of anybody opening them?
> 
> Thanks in advance for any help
> Paul
-- 
______________________________________________________________________  

Guy Van Sanden 
http://unixmafia.port5.com  

Registered Linux user #249404 - September 1997
______________________________________________________________________


--
[EMAIL PROTECTED] mailing list

Reply via email to