Quarantine Deletion

Patrik Bäckström pb at WANTECH.SE
Wed Mar 31 08:53:41 IST 2004


The following in a crontab should do the job:

find /path/to/quarantine -mtime +7 -exec rm -f \{\} \;

/pb

----- Original Message -----
From: "Mike Norton" <mike.norton at JOBSITE.CO.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Wednesday, March 31, 2004 9:50 AM
Subject: Quarantine Deletion


Is there any way of cleaning up the MailScanner Quarantine automatically for
example to keep all items for the last 7 days, but to delete anything older
than this ?

Thanks

Mike



More information about the MailScanner mailing list