Gnus development mailing list
 help / color / mirror / Atom feed
From: Torsten Hilbrich <gnus@myrkr.in-berlin.de>
Subject: Suggestion for spam.el (+ bogofilter)
Date: Sun, 05 Jan 2003 20:35:04 +0100	[thread overview]
Message-ID: <87isx34cgn.fsf@myrkr.in-berlin.de> (raw)

I have configured spam.el (current version 6.37) to use bogofilter on
all spam-marked messages in my nnml:Junk group.  After processing with
bogofilter, the messages should be expired.

The processing with bogofilter works, the expiry doesn't.  

I have traced the call of spam-mark-spam-as-expired-and-move-routine
and noticed, that the previously spam-marked (H) articles are marked
read (R) after being processed by bogofilter.  Therefore the articles
are not marked as expired.  

The spam-mark should probably be preserved in this case case, so the
expiry can work.

This is my configuration of spam.el:

(custom-set-variables
 '(gnus-spam-newsgroup-contents (quote (("Junk" gnus-group-spam-classification-spam))))
 '(gnus-spam-process-newsgroups (quote (("Junk" (gnus-group-spam-exit-processor-bogofilter)))))
 '(spam-blacklist "~/News/spam/blacklist")
 '(spam-bogofilter-spaminfo-header-regexp "^X-\\(jf\\|Junk\\|NoSpam\\|Spam\\|SB\\|Bogosity\\)[^:]*:")
 '(spam-use-blacklist t)
 '(spam-use-bogofilter t)
 '(spam-use-whitelist t)
 '(spam-whitelist "~/News/spam/whitelist"))

(spam-group-spam-contents-p "nnml:Junk") is non-nil

        Torsten



             reply	other threads:[~2003-01-05 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-05 19:35 Torsten Hilbrich [this message]
2003-01-05 22:32 ` Ted Zlatanov
2003-01-06 18:14   ` Torsten Hilbrich

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=87isx34cgn.fsf@myrkr.in-berlin.de \
    --to=gnus@myrkr.in-berlin.de \
    /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).