I agree, my drive fills up pretty damn fast cleaning all these sobig.f viruses. I tried the cron job method like someone posted... But it says bash: /bin/rm: Argument list too long Does this mean there are too many files in the new dir?
Nick -----Original Message----- You obviously did not get hit that hard by the SoBig virus then. It can fill up a 40gig partition in less than a day. Each attachment is 100k.
Brad
Just a followup note about all this...you can purge things with 'rm *' and by last mod-time using find, etc, but grep/xargs is also your friend
Using the quarantine-attachments.txt rules as example: .scr 0 SCR files not allowed per Company security policy .pif 0 PIF files not allowed per Company security policy
results in a quarantine message containing: Quarantine-Description: SCR files not allowed...
So one can use a cron-based purge using egrep and a regex like-
egrep -l 'Quarantine-Description: (SCR|PIF)' /var/spool/qmailscan/quarantine/new/*|xargs rm -f
(above should all be single line)
'egrep -l' yields filename of match which xargs processes for removal
Modify as needed for future needs and to match your own quarantine rules. 2 cents.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general