Are there any bayes_ files in your /etc/mail/spamassassin directory?  If
not, try running sa-learn --rebuild as the user you run spamassassin as
(if it is a user other then root, make sure that the user owns the files
and the directory).  This should make some files appear in that
directory listed above.  After that, run with -D again and you should
see the bayes database open but it will not use it until you have 200
spam and 200 ham emails in the system.

Hope this helps.

- Ryan

-----Original Message-----
From: WalyBaly [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 28, 2004 1:20 AM
To: Ryan Ferguson; [EMAIL PROTECTED]
Subject: Re: training my SA for bayes for all users

i also noticed these files in my /root/.spamassassin/

-rw-------  1 root root    45056 Jul 28 10:35 bayes_seen
-rw-------  1 root root 10440704 Jul 28 10:35 bayes_toks
-rw-------  1 root root 10436608 Jul 27 11:13 bayes_toks.expire3167
-rw-r--r--  1 root root     1123 Jul 13 13:08 user_prefs

thats why i am raising the question of
Does this mean that the bayes database is applicable to mails comming to

root users only
or does this apply to all users mails in /var/spool/mail/

i want the database be applicable to all users in /var/spool/mail/



Ryan Ferguson wrote:

>If you run spamd -D, can it open the bayes database?
>
>- Ryan 
>
>-----Original Message-----
>From: WalyBaly [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, July 27, 2004 2:15 AM
>To: [EMAIL PROTECTED]
>Subject: training my SA for bayes for all users
>
>i typed this the 2nd time for learning my spam mails.
>
>sa-learn --mbox --spam /var/spool/mail/test2
>
>
>and got this
>
>Cannot open bayes databases /root/.spamassassin/bayes_* R/W: lock 
>failed: File exists
>Learned from 0 message(s) (342 message(s) examined).
>
>
>why ?
>
>also does this mean that bayes_learning is applicable to only mails 
>delivered to root ?
>
>i want it applicable to all users in /var/spool/mail/*
>
>rgds,
>waly.
>
>
>
>
>  
>



Reply via email to