I'm using spamassassin because it's included in the DirectAdmin hosting 
panel we use (http://www.directadmin.com/).

We use version 2.55, implemented with Exim 4.24.

I haven't noticed any improvement after training using sa-learn on 
hundreds of messages and I noticed what may be an interesting anomaly:

I appear to have a working automatic bayes fileset at 
/var/spool/mail/.spamassassin:

<snip>
[EMAIL PROTECTED] .spamassassin]# ls -al /var/spool/mail/.spamassassin/
total 52328
drwx------    2 mail     mail         4096 Dec 14 22:53 .
drwxrwxr-x    3 root     mail         4096 Dec 13 11:17 ..
-rw-------    1 mail     mail     42631168 Dec 14 22:53 auto-whitelist
-rw-------    1 mail     mail       862215 Dec 14 22:53 bayes_journal
-rw-------    1 mail     mail         4395 Dec 14 22:53 bayes_msgcount
-rw-------    1 mail     mail      2633728 Dec 14 22:49 bayes_seen
-rw-------    1 mail     mail     12963840 Dec 14 22:49 bayes_toks
-rw-r--r--    1 mail     mail         1218 Oct  6 13:55 user_prefs
[EMAIL PROTECTED] .spamassassin]#
</snip>

I believe this works for automatic learning as the date stamps continue 
to escalate without me doing anything.

But I also have the following at /root/.spamassassin:

<snip>
[EMAIL PROTECTED] .spamassassin]# ls -al /root/.spamassassin/
total 4304
drwx------    2 root     root         4096 Dec 14 22:03 .
drwxr-x---    6 root     root         4096 Dec 14 22:28 ..
-rw-------    1 root     root         3049 Dec 14 22:03 bayes_msgcount
-rw-------    1 root     root       176128 Dec 14 22:03 bayes_seen
-rw-------    1 root     root      5197824 Dec 14 22:03 bayes_toks
[EMAIL PROTECTED] .spamassassin]#
</snip>

I believe this is what's updating when I run sa-learn, as the dates on 
this appear to update whenever I do sa-learn.

So my questions are:

How can I tell which of these is being used by bayes?  My believe is the 
one at /var/spool/.spamassassin is being used because I remember that 
when I first started using spamassassin it didn't start working until 
autolearn had passed a certain threshold, but I can't be sure <frown>.

and

Can I merge these two directories' files, since I've deleted the emails 
I ran through sa-learn and I'd love to not have to start over again if 
possible?

and

Presuming the database used by spamassassin is the one at 
/var/spool/.spamassassin, how can I run sa-learn in the future so it 
updates that database?

Thanks.

Jeff
-- 
Jeff Lasman, nobaloney.net, P. O. Box 52672, Riverside, CA  92517 US
Professional Internet Services & Support / Consulting / Colocation
Our blists address used on lists is for list email only
Phone +1 909 324-9706, or see: "http://www.nobaloney.net/contactus.html";



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to