From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20248 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE Newsgroups: gmane.emacs.gnus.general Subject: Re: M-x gnus-filter-mail-at-warp-10 (was: Re: Pre-Processed maiil splitting under Gnus?) Date: 12 Jan 1999 18:35:19 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <199901112208.RAA04940@magrathea.cosmic.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158573 16757 80.91.224.250 (21 Oct 2002 00:02:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:02:53 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA03845 for ; Tue, 12 Jan 1999 12:36:15 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAB25236; Tue, 12 Jan 1999 11:35:51 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 12 Jan 1999 11:35:53 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAA16381 for ; Tue, 12 Jan 1999 11:35:42 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA03820 for ; Tue, 12 Jan 1999 12:35:35 -0500 (EST) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.cs.uni-dortmund.de [129.217.20.180]) by waldorf.cs.uni-dortmund.de with SMTP id SAA21171 for ; Tue, 12 Jan 1999 18:35:20 +0100 (MET) Original-Received: (grossjoh@localhost) by ramses.informatik.uni-dortmund.de id SAA15503; Tue, 12 Jan 1999 18:35:19 +0100 Original-To: ding@gnus.org In-Reply-To: Asymptotically Approaching Relaxation's message of "12 Jan 1999 12:00:35 -0500" Original-Lines: 29 User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:20248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:20248 Asymptotically Approaching Relaxation writes: > (setq nnmail-split-methods > '(("mail.imagine" ".*owner-imagine@MAELSTROM\.STJOHNS\.EDU") > ("mail.mesa" "Return-Path:.*mesa.*.BR.*") > ("mail.kaffe" "Sender:.*kaffe@w3\.org") > ("mail.0xdeadbeef" ".*0xdeadbeef@substance\.abuse\.blackdown\.org") > ("mail.0xdeadbeef" "To:.*0xdeadbeef@substance.abuse.blackdown.org") > ("mail.linux-kernel" "linux-kernel@vger\.rutgers\.edu") > ("mail.linux-smp" "linux-smp@vger\.rutgers\.edu") > ("mail.linux-net" "linux-net@vger\.rutgers\.edu") > ("mail.linux-gcc" "linux-gcc@vger\.rutgers\.edu") > ("mail.linux-svgalib" "linux-svgalib@vger\.rutgers\.edu") > ("mail.linux-tape" "linux-tape@vger\.rutgers\.edu") > ("mail.linux-scsi" "linux-scsi@vger\.rutgers\.edu") I'm sure that these can be made faster by always using the header name (a number of these don't have headers), and by prefixing the header name with "^" (which means at beginning of line). To be specific: the "mail.kaffe" regex could be "^Sender:.*kaffe@w3.org". Also, note that the Lisp reader expands "\." to "." so "foo\.bar" and "foo.bar" are the same. If you want to match a dot, use "\\.". kai -- Just because I'm paranoid doesn't mean they're not out there to get me!