[Spambayes] spambayes with multiple profiles

Tony Meyer tameyer at ihug.co.nz
Tue Jul 13 02:00:40 CEST 2004


> At first look, it appears that the database 
> (corpus) used by spambayes is the same no matter
> which of these [Outlook] profiles I open. Is this
> true? Is there any way to get spambayes to maintain
> different databases for different mailboxes?

Yes, this is true.  The location of the databases is determined by the
Windows settings (typically includes the Windows username), and not at all
by Outlook's settings.  The configuration, OTOH, should be Outlook profile
specific.

You can change the directory used for this data, but again that's a per
Windows user setting.  I can't think of any way to do what you ask without
using some sort of script to shuffle the databases about.

However, I believe this would be a reasonably simple change (naming the
databases "{profile name}_bayes_database.db" and "{profile
name}_message_database.db" in much the same way as the configuration files
are named).  You could open a feature request for this
<http://sf.net/projects/spambayes>, and I suspect it would get added.
However, this wouldn't make it into a release until 1.1a1, which could be
some time away, so you'd have to either wait or run from source.

(But maybe someone else here can think of a way around this with the
existing release).

=Tony Meyer

---
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes. This
way, you get everyone's help, and avoid a lack of replies when I'm busy.



More information about the Spambayes mailing list