From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48914 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Trouble with spam.el and ifile Date: Tue, 07 Jan 2003 23:55:35 -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: References: <4nadic3fo1.fsf@lockgroove.bwh.harvard.edu> <4n1y3owr50.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 1042001598 20124 80.91.224.249 (8 Jan 2003 04:53:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 04:53:18 +0000 (UTC) Cc: ding@gnus.org 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 18W8DN-0005ES-00 for ; Wed, 08 Jan 2003 05:53:17 +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 18W8Dt-0000AR-00; Tue, 07 Jan 2003 22:53:49 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 07 Jan 2003 22:54:43 -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 WAA13018 for ; Tue, 7 Jan 2003 22:54:31 -0600 (CST) Original-Received: (qmail 22287 invoked by alias); 8 Jan 2003 04:53:33 -0000 Original-Received: (qmail 22282 invoked from network); 8 Jan 2003 04:53:33 -0000 Original-Received: from ns1.beld.net (208.229.215.81) by 66.230.238.6 with SMTP; 8 Jan 2003 04:53:33 -0000 Original-Received: from heechee.beld.net (dhcp-0-30-bd-1-93-b2.cpe.beld.net [24.233.65.6]) by ns1.beld.net (Postfix) with ESMTP id A3FF43B9F1; Tue, 7 Jan 2003 23:53:29 -0500 (EST) Original-To: David Z Maze 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: David Z Maze , ding@gnus.org In-Reply-To: (David Z Maze's message of "Tue, 07 Jan 2003 17:42:18 -0500") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48914 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48914 On Tue, 07 Jan 2003, dmaze@MIT.EDU wrote: > -- 'unless' isn't the opposite of 'if' (it's the opposite of 'when', > though). `spam-check-ifile' now unconditionally sets the group name > to what gets returned from ifile, regardless of the setting of > spam-ifile-all-categories, which is wrong. You really want the (if > (not spam-ifile-all-categories) ...) form my original patch had. I see what I did, I missed the else part of the if - I thought it was just the 'if'. Oops. > -- Is there any way to specify a group as a ham group besides group > parameters? I want every nnml group except my spam group to be > ham, but not groups in other backends, and my topic hierarchy > mixes news, mail, and other things. Setting ham on a per-group > basis is prohibitive with several hundred nnml groups and > automatic group generation from split methods. I'm not sure what other way to provide. You can already do it by regex (which should be able to do an exception). How would you suggest handling your case? A function hook? By the way, I think that if you set the spam group's contents to spam, it will override a global regex of ham for "nnml.*" - have you tried that? Ted