hci
05-31-2002, 12:44 AM
I have mailscanner running on my Raq 4i. I added the below script to cron.daily to clean out the saved viruses when they get a week old. Beats doing it manually.
http://www.sng.ecs.soton.ac.uk/mailscanner/files/contrib/clean_quarantine
Problem seems to be the cron job does not have access rights to delete the files/directories. If I use chmod to change the access rights on the files then it works. Problem is that when new files are added they are right protected of sorts again.
Anyone know a simple solution to this?
Matt
http://www.sng.ecs.soton.ac.uk/mailscanner/files/contrib/clean_quarantine
Problem seems to be the cron job does not have access rights to delete the files/directories. If I use chmod to change the access rights on the files then it works. Problem is that when new files are added they are right protected of sorts again.
Anyone know a simple solution to this?
Matt
