From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3548 Path: news.gmane.org!not-for-mail From: bkhl@elektrubadur.se (=?iso-8859-1?q?Bj=F6rn_Lindstr=F6m?=) Newsgroups: gmane.emacs.gnus.user Subject: Spam setup help Date: Wed, 25 Feb 2004 03:02:05 +0100 Organization: Upsalafandom Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138669624 19369 80.91.229.2 (31 Jan 2006 01:07:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:07:04 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:23 2006 Original-Newsgroups: gnu.emacs.gnus X-Home-Page: http://bkhl.elektrubadur.se/ User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:faLMrsLJCaepN1kBPG40duz78Mg= Original-NNTP-Posting-Host: numerus.ling.uu.se Original-X-Trace: puffinus.its.uu.se 1077674526 numerus.ling.uu.se (25 Feb 2004 03:02:06 +0100) Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!news.man.poznan.pl!news-fra1.dfn.de!irazu.switch.ch!switch.ch!luth.se!newsfeed.bahnhof.se!newsfeed.sunet.se!news01.sunet.se!puffinus.its.uu.se Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3689 Original-Lines: 37 X-Gnus-Article-Number: 3689 Tue Jan 17 17:32:23 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3548 Archived-At: I've been asking about this before, but never got a satisfying answer. Now that I've updated to 5.10.6, I thought it would be a good occasion to try again. Below is my gnus/bogofilter spam setup. This does nicely move all spam marked mails into nnfolder:spam and processes them with bogofilter. What I miss is the ability to unmark spam in nnfolder:spam, and then, when I exit the group, get them automatically processed as ham with bogofilter, and resplitted. I was hoping that setting gnus-ham-process-destinations would help with that, but apparently it's not enough. (setq spam-use-bogofilter t) (require 'spam) (setq spam-process-ham-in-spam-groups t gnus-spam-process-newsgroups '(("^nntp\\+news\\.gmane\\.org:" (gnus-group-spam-exit-processor-report-gmane)) ("^nnfolder:" (gnus-group-spam-exit-processor-bogofilter gnus-group-ham-exit-processor-bogofilter))) spam-report-gmane-use-article-number nil gnus-spam-process-destinations '(("nnfolder:.*" "nnfolder:spam")) gnus-ham-process-destinations '(("nnfolder:spam" "nnfolder:reclassify")) spam-junk-mailgroups '("nnfolder:spam") spam-split-group "spam") -- Björn Lindström http://bkhl.elektrubadur.se/