Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: bkhl@privat.utfors.se (Björn Lindström)
Subject: spam.el
Date: Sat, 21 Jun 2003 12:47:27 +0200	[thread overview]
Message-ID: <8765mzu2ps.fsf@lucien.dreaming> (raw)

I am trying to get spam.el/bogofilter running in Gnus (CVS). I use the
following settings (mostly snipped from GnusSpam on the Emacs
Wiki). However, this seems to make all mail go to nnfolder:spam.

Do I have to reclassify that? How do I do that with spam.el? Am I doing
something else wrong?

(require 'spam)
(setq spam-use-bogofilter t)
(setq gnus-install-group-spam-parameters nil)

(setq gnus-spam-process-newsgroups
      '(("nnfolder:.*" (gnus-group-spam-exit-processor-bogofilter
                    gnus-group-ham-exit-processor-bogofilter)))

      ;; All messages marked as spam in these groups should go to nnfolder:spam
      gnus-spam-process-destinations '(("nnfolder:.*" "spam"))

      ;; and ham found into the spambox should be moved to reclassify group
      gnus-ham-process-destination '(("nnfolder:spam" "reclassify"))
      spam-junk-mailgroups '("spam")
      spam-split-group "spam")


(setq nnmail-split-methods 'nnmail-split-fancy
      nnmail-split-fancy
      `(|
        (: spam-split)                       ; Spam
        (: gnus-group-split-fancy nil t nil) ; Group parameter splitting
        "mail.misc"
))


             reply	other threads:[~2003-06-21 10:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-21 10:47 Björn Lindström [this message]
2003-06-23 17:32 ` spam.el Ted Zlatanov
     [not found] <yxdwub1kskm.fsf@cs1.i-did-not-set--mail-host-address--so-shoot-me>
     [not found] ` <87ekx7ztpq.fsf@everett.mit.edu>
2003-10-24 13:27   ` spam.el Adrian Lanz
     [not found] <kfu1kp5gww.fsf@shaoz.activesky.com.au>
2002-09-17  7:48 ` spam.el Jonas Steverud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8765mzu2ps.fsf@lucien.dreaming \
    --to=bkhl@privat.utfors.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).