You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/07 20:07:19 UTC
[Spamassassin Wiki] Update of "WritingRules" by SethSeeger
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.
The following page has been changed by SethSeeger:
http://wiki.apache.org/spamassassin/WritingRules
The comment on the change is:
Added section on Advanced Scoring.
------------------------------------------------------------------------------
valuable mail might get skipped over, but false-negatives are a minor nuisance, so you can
be a bit more liberal with negative scores.
+ === Advanced Scoring ===
+
+ Score commands can have 1 or 4 parameters. If there is only one parameter (the norm) then that score is used all the time. Example:
+
+ {{{
+ score LOCAL_DEMONSTRATION_ALL 0.1
+ }}}
+
+ With four parameters:
+
+ * The first parameter applies when the Bayesian classifier and network tests are not in use
+ * The second parameter applies when the Bayesian classifier is not in use, but the network tests are
+ * The third parameter applies when the Bayesian classifier is in use, but network tests are not
+ * The fourth parameter applies when the Bayesian classifier and network tests are both in use
+
+ Example:
+ {{{
+ score LOCAL_DEMONSTRATION_ALL 0.1 0.3 0.3. 0.1
+ }}}
+
== Advanced rule types (meta, uri, rawbody and friends) ==
In addition to body and header rules, SA supports several other kinds of rules. In general