From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50987 Path: main.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-split with bogofilter Date: Sat, 22 Mar 2003 19:40:29 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4nznnp918e.fsf@lockgroove.bwh.harvard.edu> <4n3clgtv0e.fsf@lockgroove.bwh.harvard.edu> <4nel504fvd.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048358678 12849 80.91.224.249 (22 Mar 2003 18:44:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 18:44:38 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Sat Mar 22 19:44:36 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wnyt-0003Ky-00 for ; Sat, 22 Mar 2003 19:44:36 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18wnyY-0007n1-00; Sat, 22 Mar 2003 12:44:14 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 22 Mar 2003 12:45:16 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA20668 for ; Sat, 22 Mar 2003 12:45:04 -0600 (CST) Original-Received: (qmail 96435 invoked by alias); 22 Mar 2003 18:43:58 -0000 Original-Received: (qmail 96430 invoked from network); 22 Mar 2003 18:43:57 -0000 Original-Received: from elvis.franken.de (?W778VHSZQtZd9H3QyIM6zPS7edz7uutp?@193.175.24.41) by 66.230.238.6 with SMTP; 22 Mar 2003 18:43:57 -0000 Original-Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 18wnyu-0000L2-00 for ding@gnus.org; Sat, 22 Mar 2003 19:44:36 +0100 Original-Received: by tux.gnu.franken.de (Postfix, from userid 270) id 5EE4AA43E4; Sat, 22 Mar 2003 19:40:29 +0100 (CET) Original-To: ding@gnus.org In-Reply-To: <4nel504fvd.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Fri, 21 Mar 2003 15:35:50 -0500") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50987 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50987 Ted Zlatanov writes: > That works, you can also put a separate entry in the list variable - > customize it and you'll see what I mean. I think that's cleaner > (IMHO) than compound regular expressions. [...] > It's necessary iff you want ham, when processed, to go somewhere else > when you are in a spam group. Since you said you want that, it is > necessary to set the ham-process-destination parameter. Now these are my settings: (setq spam-use-bogofilter t) (setq gnus-spam-process-newsgroups '(("nnml:mail\\..*" (gnus-group-spam-exit-processor-bogofilter gnus-group-ham-exit-processor-bogofilter)) ("nnml:spambox" (gnus-group-spam-exit-processor-bogofilter gnus-group-ham-exit-processor-bogofilter))) gnus-spam-process-destinations '(("nnml:mail\\..*" "nnml:spambox")) gnus-ham-process-destinations '(("nnml:spambox" "nnml:mail.rest")) spam-junk-mailgroups '("spambox") spam-split-group "spambox") (setq gnus-spam-newsgroup-contents '(("nnml:spambox" gnus-group-spam-classification-spam) ("nnml:mail\\.spambox" gnus-group-spam-classification-spam) ("nnml:.*" gnus-group-spam-classification-ham))) > Do 'G c' on "spambox" to customize the group parameters, or customize > the variable gnus-ham-process-destinations. Done. But unmarking a message in "spambox" und quitting this group is not enough to register the message as ham and move it back to the mail.rest group. Currently this workaround does the trick for me. . Unmark message . Widen the message (C-u g) . Go to the article buffer (C-x o) and mark the message (C-x h) . Call bogofilter on the message to register it as ham (M-| bogofilter -n RET) . C-x o . Respool the message (B r) The more false positives are registered the less I'll have to do this manual intervention ;-) Thus far I'm quite happy with the spam detection now. Thanks for all your help! (BTW, I don't use customize because it looks too confusing to me or -- for simple variables it's overkill.) -- ke@suse.de (work) / keichwa@gmx.net (home): | http://www.gnu.franken.de/ke/ | ,__o Free Translation Project: | _-\_<, http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)