Gnus development mailing list
 help / color / mirror / Atom feed
From: bkhl@elektrubadur.se (Björn Lindström)
Subject: What's wrong with my spam.el settings now?
Date: Sun, 07 Aug 2005 08:38:14 +0200	[thread overview]
Message-ID: <87mznufe09.fsf@lucien.dreaming> (raw)

After upgrading to No Gnus (CVS of 20050719) my spam group is behaving
differently. Spam is split to nnml:spam properly, and if I enter that
group and leave, the new spam messages will still have it spam mark, and
when I leave again, it will be processed again.

What has changed that I need to compensate for?

Here are the relevant parts of my configuration:

;; Spam
(require 'spam)
(spam-initialize)

;; Prevent multiple registration of articles.
(require 'gnus-registry)
(gnus-registry-initialize)
(setq spam-log-to-registry t)

;; Use bogofilter for spam processing.
(setq spam-use-bogofilter t)

;; Put incoming spam in "spam".
(setq spam-split-group "spam")

;; Set spam and ham groups.
(setq gnus-spam-newsgroup-contents
      '(("^nnml:spam" gnus-group-spam-classification-spam)
        ("^nnml:.*" gnus-group-spam-classification-ham)))

;; Train the filter.
(setq spam-process-ham-in-spam-groups t
      gnus-spam-process-newsgroups
      '(("^nntp\\+news\\.gmane\\.org:"
         ((spam spam-use-gmane)))
        ("^nnml:.*"
         ((spam spam-use-bogofilter)))))

;; Move processed spam.
(setq spam-move-spam-nonspam-groups-only t)
(setq spam-mark-only-unseen-as-spam t)
(setq gnus-spam-process-destinations
      '(("^nnml:.*" "nnml:spam")))

;; Move processed ham.
(setq spam-mark-ham-unread-before-move-from-spam-group t)
(setq gnus-ham-process-destinations
      '(("^nnml:spam" "nnml:reclassify")))

;; Splitting
(setq '(|
         (: spam-split)
         ...))





             reply	other threads:[~2005-08-07  6:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07  6:38 Björn Lindström [this message]
2005-09-20 16:07 ` Ted Zlatanov
2005-09-20 17:10   ` Björn Lindström
2005-09-21 14:49     ` Ted Zlatanov
2005-09-21 14:58       ` Björn Lindström
2005-09-21 18:19         ` Ted Zlatanov
2005-09-21 19:40           ` Simon Josefsson
2005-09-27 19:38             ` Ted Zlatanov
2005-09-29 17:54               ` Simon Josefsson
2005-09-29 18:49                 ` Björn Lindström
2005-09-30  0:18                   ` Simon Josefsson
2005-09-30 10:09                     ` Björn Lindström
2005-10-04 18:04                     ` Ted Zlatanov

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=87mznufe09.fsf@lucien.dreaming \
    --to=bkhl@elektrubadur.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).