Gnus development mailing list
 help / color / mirror / Atom feed
* Suggestion for spam.el (+ bogofilter)
@ 2003-01-05 19:35 Torsten Hilbrich
  2003-01-05 22:32 ` Ted Zlatanov
  0 siblings, 1 reply; 3+ messages in thread
From: Torsten Hilbrich @ 2003-01-05 19:35 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-06 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-05 19:35 Suggestion for spam.el (+ bogofilter) Torsten Hilbrich
2003-01-05 22:32 ` Ted Zlatanov
2003-01-06 18:14   ` Torsten Hilbrich

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).