Nigel Ideally this would be on the mailscanner list...
There's a couple of ways MailScanner can expire the bayes tokens down, and which one works for you seems to be hit and miss from my experience.. 1st method is to use the 'internal' MailScanner method. In MailScanner.conf, make sure Rebuild Bayes Every = 86400 Wait During Bayes Rebuild = yes If you've already got this and things are *not* clearing down then you'll have to use the 'standard' spamassassin way of doing this. Run "sa-learn --force-expire" via a cron job every day. NB if your MailScanner is running as non-root (eg postfix, mailnull) then make sure the cron job runs as this user otherwise the bayes file permissions can get set incorrectly. -- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300 > -----Original Message----- > From: nigel [mailto:[EMAIL PROTECTED] > Sent: 19 January 2007 09:26 > To: users@spamassassin.apache.org > Subject: Runing out of Disk Space > > > hi everyone, i'm pretty new to SpamAssassin. Disk space on one of our > servers is running low and it seems that > /var/spool/MailScanner/spamassassin > is using 4.4GB. it is full of items like this > > bayes_toks.expire7000 > > i roughly know what they do but is there a way to clear this out? i > thought > some were automatically removed after a while? > > any help would be grateful > > many thanks > > Nigel Robson > -- > View this message in context: http://www.nabble.com/Runing-out-of-Disk- > Space-tf3039002.html#a8446224 > Sent from the SpamAssassin - Users mailing list archive at Nabble.com. ********************************************************************** Confidentiality : This e-mail and any attachments are intended for the addressee only and may be confidential. If they come to you in error you must take no action based on them, nor must you copy or show them to anyone. Please advise the sender by replying to this e-mail immediately and then delete the original from your computer. Opinion : Any opinions expressed in this e-mail are entirely those of the author and unless specifically stated to the contrary, are not necessarily those of the author's employer. Security Warning : Internet e-mail is not necessarily a secure communications medium and can be subject to data corruption. We advise that you consider this fact when e-mailing us. Viruses : We have taken steps to ensure that this e-mail and any attachments are free from known viruses but in keeping with good computing practice, you should ensure that they are virus free. Red Lion 49 Ltd T/A Solid State Logic Registered as a limited company in England and Wales (Company No:5362730) Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, United Kingdom **********************************************************************