At 03:26 PM 12/3/2003, Derek Simkowiak wrote:
DEFAULT SCORES (local, net, with bayes, with bayes+net)

What do "local", "net", and "bayes" mean? I can't find that anywhere.

These refer to "groups" of optional tests in SpamAssassin.


"net" - Tests which must send data across a network to complete - ie: any dns blacklists, DCC, pyzor, and/or razor.

"bayes" - Tests which use the bayesian classifier. This is a learning token database system which is "trained" about spam and nonspam (aka ham) using sa-learn.

"local" - a bit of a misnomer, but in the case of the statement at the top, refers to a configuration using neither bayes, nor network based test. Technically bayes is run locally, but "local" is shorter to write than "neither bayes nor net".


First: I assume that "bayes" means I have put the options "bayes_path" and "bayes_file_mode" in my site-wide config, as desribed in the spamd README. Is this correct?

Well, technically those options aren't needed in most cases, they have working defaults. They really exist for when you want to force SA to share a database between several users, instead of creating separate ones in the user's home directory. use_bayes is another related option, but it defaults to 1 (enabled).


What is really needed, given a default configuration, is that you train at least 200 spam and 200 nonspam messages using sa-learn. Otherwise SA will skip the bayes tests due to lack of sufficient data.


Second: What is the difference between "local" and "net"? How do I tell which mode I am running in, and how to I switch to "net"?

You can switch to "net" by installing the proper tools to do RBLs or razor/dcc/pyzor. "net" scoring will be used if *any* of the network checks are enabled.


RBLS - install the perl module Net::DNS, make sure you have not set skip_rbl_checks in your config.
razor - install the razor client (http://razor.sf.net), make sure use_razor2 isn't set to 0 (default is 1). If using SA 2.60, make sure you patch the razor code with the taint-safeness patch included in SA.
DCC - install the dcc client (http://www.rhyolite.com/anti-spam/dcc/), make sure use_dcc isn't set to 0. (default is 1).
pyzor - install the pyzor client (http://pyzor.sourceforge.net/), make sure use_pyzor isn't set to 0. (default is 1).




-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to