I an not seeing auto expiry occuring which I believe I have the correct configuration for. I am running SA-2.60-rc5, DB_File-1.806. In /etc/mail/spamassassin/local.cf (yes this file is being read based on the sa-learn -D output) I have use_bayes 1
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam -2.0
bayes_auto_learn_threshold_spam 11.0
bayes_expiry_max_db_size 50000 # this is to force an auto expiry
bayes_learn_during_report 0
bayes_auto_expire 1
SA is being called by amavisd which is run as user "vscan" and there is no configuration being done in /home/vscan/.spamassassin/userprefs. I am seeing a left over lock file and bayes_toks.new in /home/vscan/.spamassassin (which is where the bayes databases are kept). I have seen reports of memory problems in the past that cause this but they seem to be associated with mail problems and database access issues that I don't have (and logs show that BAYES_XX tests are being utilized).
[EMAIL PROTECTED] .spamassassin]$ ls -ltr
total 6348
-rw------- 1 vscan vscan 37 Sep 17 19:29 bayes.lock.mail.testdomain.com.19706
drwxrwxr-x 2 vscan vscan 4096 Sep 18 09:38 backup
-rw-r----- 1 vscan vscan 1098 Sep 18 14:39 user_prefs
-rw------- 1 vscan vscan 1081344 Sep 18 15:32 bayes_toks.new
-rw------- 1 vscan vscan 4943872 Sep 18 15:36 bayes_toks
-rw------- 1 vscan vscan 13498 Sep 18 15:36 bayes_journal
-rw------- 1 vscan vscan 1323008 Sep 18 15:36 bayes_seen
[EMAIL PROTECTED] .spamassassin]$ sa-learn --dump magic > /var/tmp/check.ad
[EMAIL PROTECTED] .spamassassin]$ cat /var/tmp/check.ad
0.000 0 2 0 non-token data: bayes db version
0.000 0 7718 0 non-token data: nspam
0.000 0 6448 0 non-token data: nham
Here the number of tokens are way above .75*bayes_expiry_max_db_size and 100,000
0.000 0 165010 0 non-token data: ntokens
0.000 0 1062343120 0 non-token data: oldest atime
0.000 0 1063910443 0 non-token data: newest atime
0.000 0 1063910445 0 non-token data: last journal sync atime
0.000 0 1063725493 0 non-token data: last expiry atime
0.000 0 1382400 0 non-token data: last expire atime delta
0.000 0 66791 0 non-token data: last expire reduction count
[EMAIL PROTECTED] .spamassassin]$
I believe that auto expiry is configured but how do I know for sure. spamassassin -D -t --lint output doesn't confirm this. I have the output of sa-learn -D attached for more info. Any help would be great!
TIA pete
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk