[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] sa-learn
- Subject: Re: [vps-mail] sa-learn
- From: Abigail Marshall <abigail@xxxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 11:19:12 -0700 (PDT)
--- Jonathan Duncan <jonathan@xxxxxxxxxx> wrote:
> I ran "sa-learn --spam spamfile" on a file with
> 1000+ messages in it. It
> took a minute or so and then said something like it
> found 1 message and
> learned 1 message. Is this normal?
How was that file compiled? Spamassassin will not
re-learn email it has already learned automatically,
so unless the spam in the email box is fresh, running
sa-learn will not accomplish anything. Also, if you
had a situation where the Bayes databases became
corrupted and you were trying to recreate a database,
it would be important to delete all the old database
files -- or else SA will use the old bayes_toks or
bayes_journal file and treat the spam as "read" even
though the bayes_seen file may no longer exist.
> Is there some
> server-wide bayes database? If so, where are the
> files for it? I did a
> locate on bayes_tok and it found one for each of my
> users, but that is it.
That depends on your set up -- if you configured SA
for server wide use, then there will be a server-wide
database, usually in
/usr/local/etc/mail/spamassassin/bayes on a VPS2 where
SA was set up using vinstall. The local.cf file could
specify a different location. On a VPS2, it would be
in ~/etc/mail/spamassassin/bayes
If SA is configured on a per-user basis, then you
would not see a server-wide database.
-Abigail
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index