Howdy list,
Before I re-invent the wheel: Does anyone have a cron script that will go through the quarantine directory removing items that are X days old?
Since implementing qmail-scanner in Sept of 2003 I have 4.8 gigs in my quarantine directory.
you'll likely need to first clean up that 4.8 Gb worth first. Once you a have more reasonable (read: manageable-by-xargs) number of files, you can consider using something like:
## remove quarantined files older than X days
09 03 * * * find /var/spool/qmailscan/quarantine/new -name "your-hostname.*" -mtime +5 -print| xargs rm -f
(above should all be on one line)
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
