On Tue, 2005-08-09 at 10:42 -0400, Mike Branda wrote:
> On Tue, 2005-08-09 at 10:07 -0400, patrick grantham wrote:
> > What's the best approach for transferring the configuration of spamAssasin
> > and what it has "learned" to another host?
> >
> >
>
> I've been writing our "learned" files at the office to the config
> directory. It's the bayes files in the ls below. Also here's the
> command I use.
>
> sa-learn -C /etc/mail/spamassassin --showdots --mbox --spam
> --dir /var/spool/mail/definiteSpam
>
> postfix1:~ # ls -la /etc/mail/spamassassin/
> total 2228
> drwxr-xr-x 3 root root 4096 May 10 16:46 .
> drwxr-xr-x 3 root root 4096 Jan 5 2005 ..
> -rw------- 1 root root 172032 May 10 16:14 bayes_seen
> -rw------- 1 root root 2588672 May 10 16:14 bayes_toks
> -rw-r--r-- 1 root root 410 May 10 16:46 local.cf
> drwxr-xr-x 2 root root 4096 Jan 21 2005 oldfiles
> -rw-r--r-- 1 root root 1581 May 9 17:10 user_prefs
> postfix1:~ #
>
>
> If the files aren't in your conf dir you could do a find on the bayes files.
> Just copy those and the spamassassin conf's to the new box and you should be
> good to go. Barring you are using the same OS or same build options for the
> location of the conf files.
>
> Mike Branda Jr.
O.K.... I semi lied. After posting I realized the files I thought I was
modifying hadn't been touched since May 10th when in reality, sa-learn
ran less than 10 minutes ago. I haven't implemented the bayes filtering
yet as I want to build up really good spam and ham folders (SA
recommends over 250 messages in each). The files it's been writing to
are in each of the users home directories depending on the e-mail
origin. They still are the bayes_toks and the bayes_seen but are not in
the global area I thought they were and there are multiples of them.
I'll let you know if I get them working globally or if it is even smart
to do it that way as it might slow SA down. Research time.....
Mike Branda Jr.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:54:10 EDT