How do people have their systems setup to handle qmail-scanner quarantined files?
I have some files sitting in the quarantine dir, now what do I do with them?
Is there some way to set up qmail-scanner so it just strips viruses and sends on the clean message?
Cheers,
EF
Quarantined mail
-
- Forum User
- Posts: 76
- Joined: Wed Feb 16, 2005 11:30 am
What I have done is to create a small script and set a cron job to delete the quarantined files on a daily basis. It's real easy. Let's say that the files in your quarantine folder are named host1.mydomain.com1286942 etc.
Create the file delquarantine in /usr/local/bin. In this file:
#!bin/bash
rm /var/spool/qmailscan/quarantine/new/host1*
Make it executable
#chmod +x /usr/local/bin/delquarantine
The set up a cron to empty the folder each dat at 5:00 AM
00 05 * * * /usr/local/bin/delquarantine
Create the file delquarantine in /usr/local/bin. In this file:
#!bin/bash
rm /var/spool/qmailscan/quarantine/new/host1*
Make it executable
#chmod +x /usr/local/bin/delquarantine
The set up a cron to empty the folder each dat at 5:00 AM
00 05 * * * /usr/local/bin/delquarantine
Sonny
-
- Forum User
- Posts: 5
- Joined: Thu Jan 12, 2006 11:53 am