var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
i need a ClamAV Command to scan /home directory
1 - i don`t want scan mail box
2 - i don`t want to remove infected file
3 - i need print ( report ) only on infected file in a log file
i`m using below command but the command will scan all mail boxes and then give report of all files ,
clamscan --recursive /home --no-mail --log=file -l file
pls correct my command !
i have found a better command but this command also check our emails.
clamscan -r -i /home -l sh1.txt
Originally Posted by jestin_virtual
usually mail boxes stored in a folder called mail or MailDir .. ie, /home/google/mail.
so then you could benefits from using the argument --exclude-dir
clamscan -r -i /home --exclude-dir mail -l sh1.txt
Good command ,
Originally Posted by SecFilterEngine
would you please let me know if the command can remove infected files ?
i don`t want to remove any file , what does it mean of -r in command ?
"man clamscan" will help you understand the args.
r = scan dir. recursively.
By constantine in forum Hosting Security and Technology
Last Post: 07-30-2009, 03:39 AM
By boonchuan in forum Hosting Security and Technology
Last Post: 07-21-2009, 03:15 AM
By mixmox in forum Hosting Security and Technology
Last Post: 12-12-2008, 09:14 PM
By jolo2 in forum Hosting Security and Technology
Last Post: 03-03-2007, 02:36 AM
By vision3 in forum Dedicated Server
Last Post: 09-07-2004, 08:41 PM