You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tracey Gates <tg...@yoursummit.com> on 2005/02/18 15:17:41 UTC

where is database updated by sa-learn

I have a server that I have been running SpamAssassin's sa-learn on for
a long time.  I just built another server and would like to copy the
information for the production server over to the new server so I don't
have to have the new server re-learn the spam.
 
I have SA 2.63 on the production server and the latest version of SA on
the new server.
 
1.  Where do I find the data that sa-learn creates?
2.  Can I copy version 2.63 data to the new version?
 
I just don't want to start from scratch to rebuild my spam list.  Any
ideas of how to do this?
 
 

  <http://yoursummit.com/Images/scg_logo.jpg> 

Tracey Gates
Lead Developer
 <ma...@yoursummit.com> tgates@yoursummit.com 

1350 South Boulder, Third Floor / Tulsa, OK 74119-3203
Phone 918-663-0991 / Fax 918-663-0840

This communication is intended only for the recipient(s) named above;
may be confidential and/or legally privileged; and, must be treated as
such in accordance with state and federal laws. If you are not the
intended recipient, you are hereby notified that any use of this
communication, or any of its contents, is prohibited. If you have
received this communication in error, please reply to the sender and
then delete the message from your computer system immediately.

 

RE: where is database updated by sa-learn

Posted by Tracey Gates <tg...@yoursummit.com>.
I don't have a bayes directory but I have the following files in the
.spamassassin directory for the user that I have been sa-learning.

bayes_toks
bayes_seen
bayes_journal

I don't intend to use user prefs.  Can I copy these files in the
spamassassin directory on my new server and it be compatible?  Old
machine is ver 2.63 and going to 3.0.2.

Then I put the following into the local.cf??

Bayes_path /etc/mail/spamassassin/bayes/


Thanks. 

Tracey Gates
Lead Developer
tgates@yoursummit.com 

1350 South Boulder, Third Floor / Tulsa, OK 74119-3203
Phone 918-663-0991 / Fax 918-663-0840

This communication is intended only for the recipient(s) named above;
may be confidential and/or legally privileged; and, must be treated as
such in accordance with state and federal laws. If you are not the
intended recipient, you are hereby notified that any use of this
communication, or any of its contents, is prohibited. If you have
received this communication in error, please reply to the sender and
then delete the message from your computer system immediately.



-----Original Message-----
From: Joe Polk [mailto:listuser@javelinux.com] 
Sent: Friday, February 18, 2005 9:23 AM
To: users@spamassassin.apache.org
Subject: Re: where is database updated by sa-learn


It really depends. If you've not given it a path, then it will be in a
subdirectory under each user, usually if you're been sa-learning as root
then look under root's .spamassassin directory for a bayes directory. If
you don't intend to use user prefs (letting users have their own bayes
db's) then you can just set a path in your local.cf like so: bayes_path
/etc/mail/spamassassin/bayes/

Or whereever you prefer.

--
<<JAV>>


---------- Original Message -----------
From: "Tracey Gates" <tg...@yoursummit.com>
To: <us...@spamassassin.apache.org>
Sent: Fri, 18 Feb 2005 08:17:41 -0600
Subject: where is database updated by sa-learn

> I have a server that I have been running SpamAssassin's sa-learn on 
> for a long time.  I just built another server and would like to copy 
> the information for the production server over to the new server so I 
> don't have to have the new server re-learn the spam.
> 
> I have SA 2.63 on the production server and the latest version of SA
> on the new server.
> 
> 1.  Where do I find the data that sa-learn creates?
> 2.  Can I copy version 2.63 data to the new version?
> 
> I just don't want to start from scratch to rebuild my spam list.  Any 
> ideas of how to do this?
> 
>   <http://yoursummit.com/Images/scg_logo.jpg>
> 
> Tracey Gates
> Lead Developer
>  <ma...@yoursummit.com> tgates@yoursummit.com
> 
> 1350 South Boulder, Third Floor / Tulsa, OK 74119-3203
> Phone 918-663-0991 / Fax 918-663-0840
> 
> This communication is intended only for the recipient(s) named above; 
> may be confidential and/or legally privileged; and, must be treated as

> such in accordance with state and federal laws. If you are not the 
> intended recipient, you are hereby notified that any use of this 
> communication, or any of its contents, is prohibited. If you have 
> received this communication in error, please reply to the sender and 
> then delete the message from your computer system immediately.
------- End of Original Message -------


Re: where is database updated by sa-learn

Posted by Joe Polk <li...@javelinux.com>.
It really depends. If you've not given it a path, then it will be in a
subdirectory under each user, usually if you're been sa-learning as root then
look under root's .spamassassin directory for a bayes directory. If you don't
intend to use user prefs (letting users have their own bayes db's) then you
can just set a path in your local.cf like so:
bayes_path /etc/mail/spamassassin/bayes/

Or whereever you prefer.

--
<<JAV>>


---------- Original Message -----------
From: "Tracey Gates" <tg...@yoursummit.com>
To: <us...@spamassassin.apache.org>
Sent: Fri, 18 Feb 2005 08:17:41 -0600
Subject: where is database updated by sa-learn

> I have a server that I have been running SpamAssassin's sa-learn on for
> a long time.  I just built another server and would like to copy the
> information for the production server over to the new server so I don't
> have to have the new server re-learn the spam.
> 
> I have SA 2.63 on the production server and the latest version of SA 
> on the new server.
> 
> 1.  Where do I find the data that sa-learn creates?
> 2.  Can I copy version 2.63 data to the new version?
> 
> I just don't want to start from scratch to rebuild my spam list.  Any
> ideas of how to do this?
> 
>   <http://yoursummit.com/Images/scg_logo.jpg>
> 
> Tracey Gates
> Lead Developer
>  <ma...@yoursummit.com> tgates@yoursummit.com
> 
> 1350 South Boulder, Third Floor / Tulsa, OK 74119-3203
> Phone 918-663-0991 / Fax 918-663-0840
> 
> This communication is intended only for the recipient(s) named above;
> may be confidential and/or legally privileged; and, must be treated 
> as such in accordance with state and federal laws. If you are not 
> the intended recipient, you are hereby notified that any use of this 
> communication, or any of its contents, is prohibited. If you have 
> received this communication in error, please reply to the sender and 
> then delete the message from your computer system immediately.
------- End of Original Message -------