Hi,

On Thu, Aug 29, 2013 at 6:37 PM, System Admin <[email protected]>wrote:

>  Just had another thought,
> you probably dont wnat to run this until the wee hours of the morning,
> Otherwise the regular incomming email scan will not run.
>
>
How about copying the logfile to another location and running freshclam
against that?

Regards,
Peter



> Again, Guru please advise.
>
>
>
> On 8/29/2013 8:27 AM, System Admin wrote:
>
> Hi again.
>
> *Before* running the script manually, run this ( it will kill any
> clamscan running )
> killall -9 clamscan
>
> Tested and working
>
> Dave M
>
>
> On 8/29/2013 8:14 AM, System Admin wrote:
>
> Here is a little bash script I made, then created cron job to run daily,
> This was for my web servers, not tried it on the qmail side, so feel free
> to experiment
>
> I also created the " unwanted " folder so I can check which files were
> infected.
> *mkdir /var/log/clamav/unwanted**
> *
> *#!/bin/bash**
> **cd /**
> **/usr/bin/freshclam -d -c 2 -l /var/log/clamav/freshclam.log**
> **#cd to /home/vpopmail/domains folder and run virus can recursivley**
> **cd /home/vpopmail/domains**
> **/usr/bin/clamscan -r -i --move=/var/log/clamav/unwanted/ -l
> /var/log/clamav/clamscan.log**
> **
> **exit*
>
>
> ____________________________________________________________________________________
> If running manually you may get :
> ERROR: /var/log/clamav/clamscan.log is locked by another process
> Which I am sure means clamav is already scanning incomming mail.
>
> Gurus, please advise on this.
> Dave M
>
>
>
> On 8/28/2013 7:14 PM, ChandranManikandan wrote:
>
> Hi All,
> Am running QMT and i had run the clamscan -r -l scan.log yesterday and got
> result below.
>  ----------- SCAN SUMMARY -----------
> Known viruses: 2697660
> Engine version: 0.97.8
> Scanned directories: 10276
> Scanned files: 1275608
> Infected files: 271
> Data scanned: 327901.89 MB
> Data read: 152816.91 MB (ratio 2.15:1)
> Time: 69702.849 sec (1161 m 42 s)
>
>  How to clean above infected files with safe .
>
>  --
> *Thanks & Best Regards,
> Manikandan.C
> *
>
>
>
>
>

Reply via email to