bayes.lock and bayes_toks.expire files piling up

Peter Bonivart peter at UCGBOOK.COM
Fri Sep 24 20:27:24 IST 2004


<x-flowed>
Mike Kercher wrote:
> I just noticed that I have a TON of the files mentioned above in my
> /root/.spamassassin directory.
>
> Is it safe to delete these after a period of time?  I'm thinking something
> like this in crontab:
>
> 0 2 * * * /usr/bin/find /root/.spamassassin -mtime +7|xargs rm -f >/dev/null
> 2>&1
>
> Yes?  No?  Maybe?

Yes but you have a problem with the expire mechanism of SA. Read here
for more info:

http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/303.html
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/317.html

--
/Peter Bonivart

--Unix lovers do it in the Sun

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list