From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9045 Path: news.gmane.org!not-for-mail From: bkhl@elektrubadur.se (=?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=) Newsgroups: gmane.emacs.gnus.user Subject: A little help with the spam Date: Wed, 30 May 2007 00:09:47 +0200 Message-ID: <87myznnuxg.fsf@bast.dreaming> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180479621 6915 80.91.229.12 (29 May 2007 23:00:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 May 2007 23:00:21 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed May 30 01:00:19 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HtAfn-0002vX-1P for gegu-info-gnus-english@m.gmane.org; Wed, 30 May 2007 01:00:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtAfm-0008Is-Il for gegu-info-gnus-english@m.gmane.org; Tue, 29 May 2007 19:00:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HtAff-0008Gp-Iw for info-gnus-english@gnu.org; Tue, 29 May 2007 19:00:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtAfe-0008GW-PN for info-gnus-english@gnu.org; Tue, 29 May 2007 19:00:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtAfe-0008GR-KP for info-gnus-english@gnu.org; Tue, 29 May 2007 19:00:06 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HtAfe-0007gX-61 for info-gnus-english@gnu.org; Tue, 29 May 2007 19:00:06 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HtAfa-0003kK-9x for info-gnus-english@gnu.org; Wed, 30 May 2007 01:00:02 +0200 Original-Received: from nl104-206-203.student.uu.se ([130.243.206.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 May 2007 01:00:02 +0200 Original-Received: from bkhl by nl104-206-203.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 May 2007 01:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 70 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: nl104-206-203.student.uu.se Mail-Copies-To: never X-Home-Page: http://bkhl.elektrubadur.se/ User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:rP4LrX+1VgqTsU/3R0zufSy05E8= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9045 Archived-At: Since a thread a while back I've been using the following spam related settings. However, I'm noticing that these no longer make Gnus (No Gnus 0.6) register spam in the spam group, spam marked as spam in other groups, or non-spam in the spam group marked as non-spam with bogofilter. If I go to the spam or reclassify group after it's been moved, `B q' still says it would go to the same place. How should I get spam.el to report to bogofilter whenever I mark something as spam or non-spam? ;;; Spam ;; 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) (setq 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"))) ;;; Expiration (setq nnmail-expiry-wait 32) ;;; Splitting (setq nnmail-crosspost nil nnmail-cache-accepted-message-ids t nnmail-message-id-cache-length 4096 nnmail-cache-ignore-groups "\\`outgoing\\|spam\\'" nnmail-split-methods 'nnmail-split-fancy nnmail-split-fancy-match-partial-words t nnmail-split-fancy `(| (: spam-split) ("gnus-warning" "\\" "duplicate") (: nnmail-split-fancy-with-parent) (: gnus-group-split-fancy nil t nil) "misc"))