Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 13:01:10 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        zazoo@iname.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Spamassassin: sa-learn scope question  ??
Message-ID:  <20040309190110.GE95503@dan.emsphone.com>
In-Reply-To: <20040309184315.78594.qmail@web12309.mail.yahoo.com>
References:  <20040309184315.78594.qmail@web12309.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 09), Pat said:
> I was wondering exactly what the scope is on sa-learn.
> what i mean by this is:
> if i run sa-learn as root, does it get applied to the
> global spam-assassin ruleset or only for my user?
> 
> do all my users need to run sa-learn on their spam/ham
> files or does it affect everyone if only I do it?

It's an either-or thing.  You can't have both a private and a public
bayes db.  By default, every user has a private bayes database, in
~/.spamassassin.  If you want them to share a common one, add something
like this to your local.cf:

# Note this is a basename, not a path
bayes_path /usr/tmp/spamassassin/bayes
bayes_file_mode         0777

, which will tell spamassassin to use files in /usr/tmp/spamassassin
(or pick some other directory writable by everyone), and to create the
files so that everyone can update them.
 
-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309190110.GE95503>