Chris Halverson wrote:

> > The filter stores its files in $HOME/.spamassassin (unless otherwise set
> > up), you can look for those files and see if the database grows. Check
> > bayes_msgcount, it simply contains a period for each entry in the
> > database.
> 
> I've run into this issue too. I have a user who fed (via sa-learn) a
> few thousand messages to SA, yet it still appears that his Bayes is
> not working. Should there always be a "BAYES_*" header in the SA
> report? It's working for me, so I'm at a loss as to why it's not
> working system wide (via spamd).

I had the same problem on a RedHat 7.3 machine. The problem was the 
options passed to spamd at startup, it is found in /etc/sysconfig/spamd.
I made the following change:

###OPTIONS="-d -u spamassassin -x -a -P \
###   --virtual-config-dir=/var/lib/spamassassin/%u.prefs"
OPTIONS="-d -a -P -c"

... the original options are commented out here.

Before, all the users' spamassassin directories were in
/var/lib/spamassassin/$LOGNAME.prefs, but sa-learn still writes database
files to $HOME/.spamassassin :-( . When I made the change, things were in
$HOME/.spamassassin as expected, and works along with sa-learn.

I haven't tried using a common database for all users, and I don't know if
the users can run sa-learn to train the filter. It would save some
diskspace...

Hope this helps.
/Morten

-- 
Morten Kjeldgaard 
Department of Molecular Biology, Aarhus University
Gustav Wieds Vej 10 C, DK-8000 Aarhus C, Denmark
Lab +45 89425026 * Mobile +45 89428063 * Fax +45 86123178
Home +45 86188180 * ICQ 27224900 * http://imsb.au.dk/~mok



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to