my mailscanner settings are slightly different Rebuild Bayes Every = 0 Wait During Bayes Rebuild = no
so if i change them to what you suggested this will clear them out? also, does this effect mail delivery while it is doing it? Nigel Martin Hepworth-3 wrote: > > Nigel > > List is best.. > > Commented out is fine - as in that's what I've got.. ;-) > > If you're other settings in MailScanner.conf are also as below then > you'll have to use the cron method.. > > -- > Martin Hepworth > Snr Systems Administrator > Solid State Logic > Tel: +44 (0)1865 842300 > >> -----Original Message----- >> From: Nigel Robson [mailto:[EMAIL PROTECTED] >> Sent: 19 January 2007 09:54 >> To: Martin.Hepworth >> Subject: RE: Runing out of Disk Space >> >> Hi there Martin. I'm not sure if I am meant to reply back to you or > the >> forum? >> >> Anyway, I've found the setting 'bayes_auto_expire 0' but it is > commented >> out. Is this something that needs changing first before I use what you >> mentioned below? I found this in /etc/MailScanner/spam.assassin.conf >> >> Many thanks >> >> Nigel >> >> -----Original Message----- >> From: Martin.Hepworth [mailto:[EMAIL PROTECTED] >> Sent: 19 January 2007 09:48 >> To: Nigel Robson; users@spamassassin.apache.org >> Subject: RE: Runing out of Disk Space >> >> 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 >> ********************************************************************** > > > > > > ********************************************************************** > 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 > ********************************************************************** > > > -- View this message in context: http://www.nabble.com/Runing-out-of-Disk-Space-tf3039002.html#a8446674 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.