bayes expire tokens

Chris Conn cconn at ABACOM.COM
Tue Mar 8 21:03:54 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hello,

I am still facing problems with Bayes token expiry.  In my
MailScanner.conf file, I have:

Rebuild Bayes Every = 86400

and

Wait During Bayes Rebuild = yes

in /etc/mail/spamassassin/local.cf I have:

bayes_auto_expire 0

in /etc/MailScanner/spam.assassin.prefs.conf I have:

bayes_path                 /var/spool/MailScanner/spamassassin/bayes
bayes_file_mode            0600
use_bayes 1
bayes_auto_expire 0  (again, since it did not seem to be working in
local.cf)

I am using MailScanner 4.37.7, which supposedly has resolved this issue,
yet in /var/spool/MailScanner/spamassassin/, I have

   121533 Mar  8 16:00 bayes_journal
335876096 Mar  8 15:59 bayes_seen
21909504 Mar  8 15:59 bayes_toks
  5976064 Mar  7 22:03 bayes_toks.expire11073
  9482240 Mar  8 00:44 bayes_toks.expire1211
10518528 Mar  7 22:13 bayes_toks.expire12709
10121216 Mar  7 22:19 bayes_toks.expire13541
  9842688 Mar  7 22:24 bayes_toks.expire14207
10113024 Mar  7 22:30 bayes_toks.expire15013
10076160 Mar  7 22:35 bayes_toks.expire15666
  9781248 Mar  7 22:40 bayes_toks.expire16569
  9904128 Mar  7 22:46 bayes_toks.expire17311
  9678848 Mar  7 22:51 bayes_toks.expire18116
  9682944 Mar  7 22:56 bayes_toks.expire18905
  9478144 Mar  8 00:50 bayes_toks.expire1958
  9756672 Mar  7 23:01 bayes_toks.expire19619
  9773056 Mar  7 23:07 bayes_toks.expire20537
  9789440 Mar  7 23:13 bayes_toks.expire21248
  9883648 Mar  7 23:18 bayes_toks.expire22052
  9482240 Mar  7 23:23 bayes_toks.expire22802
  9449472 Mar  7 23:28 bayes_toks.expire23494
  9531392 Mar  7 23:34 bayes_toks.expire24158
  9486336 Mar  7 23:39 bayes_toks.expire24781
  9474048 Mar  7 23:44 bayes_toks.expire25327
  9486336 Mar  8 00:55 bayes_toks.expire2551
  9465856 Mar  7 23:49 bayes_toks.expire25930
  5263360 Mar  7 23:55 bayes_toks.expire26710
  9469952 Mar  8 00:00 bayes_toks.expire27390
  9482240 Mar  8 00:06 bayes_toks.expire28351
  9465856 Mar  8 00:12 bayes_toks.expire29198
  9469952 Mar  8 00:17 bayes_toks.expire30081
  9469952 Mar  8 00:22 bayes_toks.expire30748
  9490432 Mar  8 00:27 bayes_toks.expire31316
  9482240 Mar  8 01:01 bayes_toks.expire3174
  9486336 Mar  8 00:33 bayes_toks.expire31978
  9469952 Mar  8 01:06 bayes_toks.expire3845
  9465856 Mar  8 01:11 bayes_toks.expire4458
  9482240 Mar  8 00:39 bayes_toks.expire460
  5263360 Mar  8 01:16 bayes_toks.expire5055
  9469952 Mar  8 01:22 bayes_toks.expire5617
  9469952 Mar  8 01:28 bayes_toks.expire6292
  9465856 Mar  8 01:34 bayes_toks.expire6996
  9465856 Mar  8 01:40 bayes_toks.expire7772
  9469952 Mar  8 01:45 bayes_toks.expire8319
  9474048 Mar  8 01:51 bayes_toks.expire9002
  9486336 Mar  8 01:57 bayes_toks.expire9720

Here is what my logs have to say for yesterday's expiry:

Mar  7 21:58:12 mx2 MailScanner[10568]: Bayes database rebuild is due
Mar  7 21:58:12 mx2 MailScanner[10568]: SpamAssassin Bayes database
rebuild preparing
Mar  7 21:58:12 mx2 MailScanner[10568]: SpamAssassin Bayes database
rebuild starting
Mar  7 21:59:38 mx2 MailScanner[10568]: SpamAssassin Bayes database
rebuild completed
Mar  7 21:59:38 mx2 MailScanner[10568]: Rebuilding SpamAssassin Bayes
database

What I find curious is the log message "Rebuilding SpamAssassin Bayes
database", which comes _after_ the completed message???

Am I doing something wrong?  I have read and re-read the docs regarding
this and I have never been able to not have these annoying expire files
appear.

Thanks in advance,

Chris

------------------------ 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).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list