You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Wysocki <ro...@contium.pl> on 2012/04/27 12:57:33 UTC
Global and per-user bayesian databases
Hi,
Our old environment used per-user bayesian databases, but now we've
decided to use one that is site-wide.
The thing is that some users managed to train their bayes filters quite
well and we don't want to loose it.
So is it possible to configure spamassassin to use both global and
per-user bayesian databases?
Or is it possible to import one database to another _without_
overwriting the second one?
Regards,
--
Robert Wysocki
administrator systemów linuksowych
CONTIUM S.A., http://www.contium.pl
Re: Global and per-user bayesian databases
Posted by Robert Wysocki <ro...@contium.pl>.
Dnia 2012-04-27, pią o godzinie 13:08 +0100, RW pisze:
> On Fri, 27 Apr 2012 12:57:33 +0200
> Robert Wysocki wrote:
>
> > Hi,
> >
> > Our old environment used per-user bayesian databases, but now we've
> > decided to use one that is site-wide.
> >
> > The thing is that some users managed to train their bayes filters
> > quite well and we don't want to loose it.
> >
> > So is it possible to configure spamassassin to use both global and
> > per-user bayesian databases?
>
> No
>
> > Or is it possible to import one database to another _without_
> > overwriting the second one?
>
> Not directly, but what you could do is use sa-learn --backup to dump
> the individual databases into text files and write a simple script to
> combine them. The format of the files is pretty straightforward.
>
Thanks for the tip.
Regards,
--
Robert Wysocki
administrator systemów linuksowych
CONTIUM S.A., http://www.contium.pl
Re: Global and per-user bayesian databases
Posted by RW <rw...@googlemail.com>.
On Fri, 27 Apr 2012 12:57:33 +0200
Robert Wysocki wrote:
> Hi,
>
> Our old environment used per-user bayesian databases, but now we've
> decided to use one that is site-wide.
>
> The thing is that some users managed to train their bayes filters
> quite well and we don't want to loose it.
>
> So is it possible to configure spamassassin to use both global and
> per-user bayesian databases?
No
> Or is it possible to import one database to another _without_
> overwriting the second one?
Not directly, but what you could do is use sa-learn --backup to dump
the individual databases into text files and write a simple script to
combine them. The format of the files is pretty straightforward.
Re: Global and per-user bayesian databases
Posted by Benny Pedersen <me...@junc.org>.
Den 2012-04-27 12:57, Robert Wysocki skrev:
> Our old environment used per-user bayesian databases, but now we've
> decided to use one that is site-wide.
ok
> The thing is that some users managed to train their bayes filters
> quite
> well and we don't want to loose it.
hope thay have the ham/spam mails still, in that case its possible to
relearn bayes from it
> So is it possible to configure spamassassin to use both global and
> per-user bayesian databases?
that will be a bug report for supporting it, bayes db is possible to
migrade from pr user to global, but from global to pr user is more
complicated bayes wide, here i have not tryed make a sa-learn --backup
and --restore on another user, it might miss --restore-merge to do what
you like to do
> Or is it possible to import one database to another _without_
> overwriting the second one?
yes bayes is pr user so 2 or more users can use the single id user in
user_prefs