From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64736 Path: news.gmane.org!not-for-mail From: bkhl@elektrubadur.se (=?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=) Newsgroups: gmane.emacs.gnus.general Subject: A little help with the spam Date: Tue, 29 May 2007 13:31:40 +0200 Message-ID: <87tztvoogz.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 1180483549 17924 80.91.229.12 (30 May 2007 00:05:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 May 2007 00:05:49 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13248=ding+2Daccount=gmane.org@lists.math.uh.edu Wed May 30 02:05:48 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HtBgp-0005T7-CF for ding-account@gmane.org; Wed, 30 May 2007 02:05:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HtBgo-0002yP-NX for ding-account@gmane.org; Tue, 29 May 2007 19:05:22 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Hszvk-0007wu-Dd for ding@lists.math.uh.edu; Tue, 29 May 2007 06:32:00 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Hszvi-0004yf-4p for ding@lists.math.uh.edu; Tue, 29 May 2007 06:32:00 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Hszvg-0007Pf-00 for ; Tue, 29 May 2007 13:31:56 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HszvY-0004nF-4d for ding@gnus.org; Tue, 29 May 2007 13:31:48 +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 ; Tue, 29 May 2007 13:31:48 +0200 Original-Received: from bkhl by nl104-206-203.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 May 2007 13:31:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.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:wgWVun0szc8qYH90s6QTn8aWICI= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64736 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"))