[Spambayes] spambayes with multiple profiles

Coe, Bob rcoe at CambridgeMA.GOV
Tue Jul 13 17:38:16 CEST 2004

Providing the option could be reasonably straightforward. (I'll resist the temptation to use the word "simple"!) You can use the default configuration files by, er, default and provide the ability to create profile-specific versions (presumably by copying the default versions) for any profile for which the user requests it. That would be fully backwards-compatible for any user who didn't want to go to the trouble.

You should, however, use a naming convention different from the one Inboxer uses. Some users (me, for example) may have obsolete Inboxer configuration files lurking around for historical reasons.


> -----Original Message-----
> From: spambayes-bounces at python.org
> [mailto:spambayes-bounces at python.org]On Behalf Of Kenny Pitt
> Sent: Tuesday, July 13, 2004 10:04 AM
> To: 'Tony Meyer'; 'Curtis Muncy'; spambayes at python.org
> Subject: RE: [Spambayes] spambayes with multiple profiles
> Tony Meyer wrote:
> >> 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?
> > 
> [snip]
> > 
> > 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).
> The precedent has been set.  InBoxer already does it exactly this way.
> I can take a look at doing this.  It shouldn't be that difficult since we've
> already retrieved the profile name in order to get the options file.  The
> question is, will everyone want to have separate databases for each profile
> or will we need a way to optionally share a single database across profiles?
> -- 
> Kenny Pitt

More information about the Spambayes mailing list