where is sa\learn db? [message #689] |
Fri, 16 February 2007 14:46 |
|
Hi there,
I train SpamAssassin by mbox file exported from Thunderbird.
It seesm that everything goes very wel. But I don't know, where NST keeps this informatin. If I can copy de db from one server to another one, I don't have to teach all of my NST.
also I want to update from v.2.3.5.2 to v.2.3.5. and I don't know if I have to backup it myself or NST don't over write it. I know that loal.cf and nospamtoday.cf remain the same. I don't have any extra rules. What sould I consider when I update.
I appriciate your help.
thanks
Star-pak
|
|
|
Re: where is sa\learn db? [message #690 is a reply to message #689] |
Fri, 16 February 2007 15:17  |
support
Messages: 925 Registered: April 2004
|
Senior Member |
|
|
> I train SpamAssassin by mbox file exported from Thunderbird.
> It seesm that everything goes very wel. But I don't know, where
> NST keeps this informatin. If I can copy de db from one server
> to another one, I don't have to teach all of my NST.
> also I want to update from v.2.3.5.2 to v.2.3.5. and I don't
> know if I have to backup it myself or NST don't over write it.
> I know that loal.cf and nospamtoday.cf remain the same. I don't
> have any extra rules. What sould I consider when I update.
NoSpamToday! stores the SpamAssassin Bayes and auto-whitelist databases in the "db" subfolder. They can be transferred to another NoSpamToday! instance without any problems. NoSpamToday! updates do not affect the "db" subfolder.
Customer Support
Byteplant GmbH
|
|
|
|
|
Re: where is sa\learn db? [message #693 is a reply to message #689] |
Fri, 16 February 2007 15:59  |
|
I'm confused!
I train NST for blacklist and whitelist.
sa\sa-learn -C sa\ruleset --showdots --spam --mbox spam.mbox
sa\sa-learn -C sa\ruleset --showdots --ham --mbox whitelist.mbox
all information for both of them, gather to de awl file, you said. I can copy this file to another server, correct?
what does bayes_toks do hier?
I wait for your reply unpationtly!
Thanx
star-pak
|
|
|
Re: where is sa\learn db? [message #694 is a reply to message #693] |
Fri, 16 February 2007 16:09  |
support
Messages: 925 Registered: April 2004
|
Senior Member |
|
|
> I'm confused!
It seems so 
> I train NST for blacklist and whitelist.
>
> sa\sa-learn -C sa\ruleset --showdots --spam --mbox spam.mbox
> sa\sa-learn -C sa\ruleset --showdots --ham --mbox whitelist.mbox
Very good, provided that whitelist.mbox only contains ham mails.
sa-learn stores all information in the bayes_toks file of the "db" subfolder.
> all information for both of them, gather to de awl file, you
> said. I can copy this file to another server, correct?
> what does bayes_toks do hier?
You cannot manually teach the auto-whitelist (please read http://wiki.apache.org/spamassassin/AutoWhitelist again).
As said before, the Bayes database information (all tokens, spam+ham) is completely contained in the bayes_toks file of the "db" subfolder.
Customer Support
Byteplant GmbH
|
|
|
|