Next: , Previous: ifile spam filtering, Up: Spam Back Ends

9.17.6.10 Spam Statistics Filtering

This back end uses the Spam Statistics Emacs Lisp package to perform statistics-based filtering (see Spam Statistics Package). Before using this, you may want to perform some additional steps to initialize your Spam Statistics dictionary. See Creating a spam-stat dictionary.

— Variable: spam-use-stat
— Variable: gnus-group-spam-exit-processor-stat

Add this symbol to a group's spam-process parameter by customizing the group parameters or the gnus-spam-process-newsgroups variable. When this symbol is added to a group's spam-process parameter, the spam-marked articles will be added to the spam-stat database of spam messages.

WARNING

Instead of the obsolete gnus-group-spam-exit-processor-stat, it is recommended that you use (spam spam-use-stat). Everything will work the same way, we promise.

— Variable: gnus-group-ham-exit-processor-stat

Add this symbol to a group's spam-process parameter by customizing the group parameters or the gnus-spam-process-newsgroups variable. When this symbol is added to a group's spam-process parameter, the ham-marked articles in ham groups will be added to the spam-stat database of non-spam messages.

WARNING

Instead of the obsolete gnus-group-ham-exit-processor-stat, it is recommended that you use (ham spam-use-stat). Everything will work the same way, we promise.

This enables spam.el to cooperate with spam-stat.el. spam-stat.el provides an internal (Lisp-only) spam database, which unlike ifile or Bogofilter does not require external programs. A spam and a ham processor, and the spam-use-stat variable for spam-split are provided.