From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50959 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-split with bogofilter Date: Fri, 21 Mar 2003 15:35:50 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: <4nel504fvd.fsf@lockgroove.bwh.harvard.edu> References: <4nznnp918e.fsf@lockgroove.bwh.harvard.edu> <4n3clgtv0e.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 1048279010 12665 80.91.224.249 (21 Mar 2003 20:36:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 20:36:50 +0000 (UTC) Cc: Stefan =?iso-8859-1?q?Reich=F6r?= , ding@gnus.org Original-X-From: owner-ding@hpc.uh.edu Fri Mar 21 21:36:48 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 18wTFv-0003Hs-00 for ; Fri, 21 Mar 2003 21:36:47 +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 18wTFK-00038E-00; Fri, 21 Mar 2003 14:36:10 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 21 Mar 2003 14:37:13 -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 OAA18331 for ; Fri, 21 Mar 2003 14:36:59 -0600 (CST) Original-Received: (qmail 54683 invoked by alias); 21 Mar 2003 20:35:52 -0000 Original-Received: (qmail 54678 invoked from network); 21 Mar 2003 20:35:52 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 21 Mar 2003 20:35:52 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h2LKZoj04641; Fri, 21 Mar 2003 15:35:50 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h2LKZoj23609; Fri, 21 Mar 2003 15:35:50 -0500 (EST) Original-To: Karl Eichwalder X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: Karl Eichwalder , Stefan =?iso-8859-1?q?Reich=F6r?= , ding@gnus.org In-Reply-To: (Karl Eichwalder's message of "Fri, 21 Mar 2003 20:28:34 +0100") User-Agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.2 (usg-unix-v) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50959 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50959 On Fri, 21 Mar 2003, keichwa@gmx.net wrote: > Ted Zlatanov writes: > >> (setq gnus-spam-process-newsgroups >> '(("nnml:mail\\..*" >> (gnus-group-spam-exit-processor-bogofilter >> gnus-group-ham-exit-processor-bogofilter))) >> gnus-spam-process-destinations '(("nnml:mail\\..*" >> "nnml:spambox")) spam-junk-mailgroups '("nnml:spambox") >> spam-split-group "nnml:spambox") >> >> "nnml:spambox" does not match the spam-exit-processor or the >> ham-exit-processor you have selected. What you have will process >> spam and ham only when you're in a "nnml:mail.*" group. Which is >> OK, since you have spam-process-destination set to go to >> "nnml:spambox" so the processed spam will go there. It's just that >> in "nnml:spambox" nothing will happen. > > Is it okay to add spambox this way: > > (setq gnus-spam-process-newsgroups > '(("nnml:\\(mail\\..*\\|spambox\\)" > ;; ^^^^^^^^ add spambox here? > (gnus-group-spam-exit-processor-bogofilter > gnus-group-ham-exit-processor-bogofilter))) 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. > Is it necessary to provide a gnus-ham-process-destinations setting, > too? 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. > How? Do 'G c' on "spambox" to customize the group parameters, or customize the variable gnus-ham-process-destinations. > I want false positives to go thru the usual split procedure. There's no "respooling" action yet, you can only set ham-process-destination to a group name. If you *really* want to respool, I guess we can add a 'respool option to the spam/ham-process-destination parameters, in addition to a group name. Ted