<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Can I move default database?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face=Arial
color=#0000ff size=2>Yes, it's configurable. I believe this is the correct
procedure. Maybe someone else will correct me if I'm wrong.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face=Arial
color=#0000ff size=2>Create the new data directory and move the existing *.ini
and *.db from the user's "Application Data\SpamBayes" directory to the new
directory. Then create a new file "default_configuration.ini" in the
"Application Data\SpamBayes" directory with the following
contents:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face="Courier New"
color=#0000ff size=2>[General]</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face="Courier New"
color=#0000ff size=2>data_directory: C:\NewDataDirectory</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=268060119-09122003><FONT face=Arial
color=#0000ff size=2>You are probably already aware of this, but there are some
issues to consider with roaming profiles and SpamBayes if you make this change.
First, you'll need to make sure that SpamBayes is installed on every computer
that a user might roam to. Second, you'll need to make sure that the
C:\NewDataDirectory you specify is valid on every computer (SpamBayes will
create the directory, but the path has to be valid. For example, don't use
D:\Directory if some of the computers don't have a D: drive). Third, it
would be best to have a separate C:\NewDataDirectory for each user so
that users don't end up sharing training data. And fourth, be aware
that users will have to re-configure and re-train SpamBayes on each
computer that they use, and that filtering accuracy will vary depending on which
computer they are using. You can alleviate some of these issues by pointing the
data_directory to a location on a network drive, but I have no idea what the
performance would be like in that case.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face="Courier New" size=2>Kenny Pitt</FONT></DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> spambayes-bounces@python.org
[mailto:spambayes-bounces@python.org] <B>On Behalf Of </B>Januski,
Ken<BR><B>Sent:</B> Tuesday, December 09, 2003 12:48 PM<BR><B>To:</B>
spambayes@python.org<BR><B>Subject:</B> [Spambayes] Can I move default
database?<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT face=Arial size=2>Hi,</FONT> </P>
<P><FONT face=Arial size=2>I signed up for users mailing list hoping to ask
this there but still haven't gotten a message from list so I'm trying here
instead. First let me repeat what others have said: I'm very happy with
SpamBayes and the Outlook plugin, which we need to use where I work. I'm
slowly convincing users to use it. Maybe eventually, if we have any sense,
we'll make it part of all our pcs. But I've run into a small problem that I'm
wondering about.</FONT></P>
<P><FONT face=Arial size=2>We have set a limit on the size of user profiles
that are saved back to the W2K server when a user logs out of network. The
profile includes the fairly sizeable SpamBayes database. If we could change
the location of it then we could get around this problem. Can anyone tell me
if it's possible? Is it configurable? Is it configurable in source
code?</FONT></P>
<P><FONT face=Arial size=2>Thanks for any info, and thanks for a great piece
of software.</FONT> </P>
<P><FONT face=Arial size=2>Ken Januski</FONT>
</P><BR></BLOCKQUOTE></BODY></HTML>