Saša Janiška [2016-01-30 19:34:50+01] wrote:

> So, I'be very thankful if you can provide some help how to either use
> Gnus' spam package or your gnus-bogofilter package?

Here's a configuration example for my gnus-bogofilter.el. You can add
this code in your Gnus init file (gnus.el):

    ;; Load gnus-bogofilter.el package.
    (require 'gnus-bogofilter)

    (setq nnmail-split-methods 'nnmail-split-fancy
          nnmail-mail-splitting-decodes t
          nnmail-split-fancy
          '(| (: bogofilter-split "spam" "unsure")
              ;; You can add split rules here if you want to.
              "misc"))

You should also read the docs for nnmail-split-fancy variable so that
you understand how mail splitting works. The above configuration will
move detected incoming spam messages to group "spam", unsure messages to
group "unsure" and all good (ham) messages to group "misc".

In Gnus summary buffer you can use commands M-x bogofilter-register-spam
and M-x bogofilter-register-ham to train Bogofilter's database. Those
will register the current message (or all marked messages) for
Bogofilter. Command M-x bogofilter-check will display current message's
status and spam score. Also see the functions' documentation.

And that's pretty much it.

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to