From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48960 Path: main.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.general Subject: Re: Trouble with spam.el and ifile Date: Wed, 08 Jan 2003 11:15:18 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4nadic3fo1.fsf@lockgroove.bwh.harvard.edu> <4n1y3owr50.fsf@lockgroove.bwh.harvard.edu> <4nfzs3llqx.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 1042042500 6285 80.91.224.249 (8 Jan 2003 16:15:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 16:15:00 +0000 (UTC) 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 18WIr4-0001d9-00 for ; Wed, 08 Jan 2003 17:14:58 +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 18WIri-0008FO-00; Wed, 08 Jan 2003 10:15:38 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 08 Jan 2003 10:16:33 -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 KAA14710 for ; Wed, 8 Jan 2003 10:16:19 -0600 (CST) Original-Received: (qmail 52940 invoked by alias); 8 Jan 2003 16:15:20 -0000 Original-Received: (qmail 52935 invoked from network); 8 Jan 2003 16:15:20 -0000 Original-Received: from fort-point-station.mit.edu (18.7.7.76) by 66.230.238.6 with SMTP; 8 Jan 2003 16:15:20 -0000 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id LAA15030 for ; Wed, 8 Jan 2003 11:15:19 -0500 (EST) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id LAA27781; Wed, 8 Jan 2003 11:15:19 -0500 (EST) Original-Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id LAA03775; Wed, 8 Jan 2003 11:15:18 -0500 (EST) Original-To: ding@gnus.org In-Reply-To: (David Z Maze's message of "Wed, 08 Jan 2003 11:07:04 -0500") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) XEmacs/21.4 (Artificial Intelligence, sparc-sun-solaris2.8) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48960 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48960 David Z Maze writes: > *enlightenment* I want to set > > (setq gnus-spam-newsgroup-contents > '(("nnml:.*" gnus-group-spam-classification-ham) > ("nnml:mail.misc.spam" gnus-group-spam-classification-spam))) > > since it looks like the magic in gnus-define-group-parameter picks the > last matching regexp from the alist. Replacing experimentation with enlightenment, this is backwards; it takes the *first* regexp. So I now have in my .gnus: (setq gnus-spam-newsgroup-contents '(("nnml:mail.misc.spam" gnus-group-spam-classification-spam) ("nnml:.*" gnus-group-spam-classification-ham)) gnus-spam-process-newsgroups '(("nnml:.*" (gnus-group-spam-exit-processor-ifile))) gnus-spam-process-destinations '(("nnml:.*" "nnml:mail.misc.spam")) spam-junk-mailgroups '("mail.misc.spam") spam-split-group "mail.misc.spam" spam-use-ifile t) And it appears to do almost everything I want, except for sorting away spam or ham appearing in the other sort of group. -- David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell