From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53800 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Diagnosis of a nnmail-split-methods problem Date: Sat, 23 Aug 2003 16:45:54 +0200 Organization: University of Duisburg, Germany Sender: ding-owner@lists.math.uh.edu Message-ID: <84r83c8mal.fsf@slowfox.is.informatik.uni-duisburg.de> References: <87d6f19wh1.fsf@bigbox.barillari.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061650029 7731 80.91.224.253 (23 Aug 2003 14:47:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Aug 2003 14:47:09 +0000 (UTC) Original-X-From: ding-owner+M2340@lists.math.uh.edu Sat Aug 23 16:47:08 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qZfX-0006Pl-00 for ; Sat, 23 Aug 2003 16:47:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19qZeV-0008Gf-00; Sat, 23 Aug 2003 09:46:03 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19qZeQ-0008Ga-00 for ding@lists.math.uh.edu; Sat, 23 Aug 2003 09:45:58 -0500 Original-Received: (qmail 60751 invoked by alias); 23 Aug 2003 14:45:58 -0000 Original-Received: (qmail 60746 invoked from network); 23 Aug 2003 14:45:57 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 23 Aug 2003 14:45:57 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19qZj2-0005KX-00 for ; Sat, 23 Aug 2003 16:50:44 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 26 Original-NNTP-Posting-Host: pd951fe74.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1061650244 19854 217.81.254.116 (23 Aug 2003 14:50:44 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 23 Aug 2003 14:50:44 GMT Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:ilHbQDRL7AH89JCuPJIex/PaD0I= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53800 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53800 Joseph Barillari writes: > (setq nnmail-split-methods > '( > ("mail.spam" "^X-Rocket-Spam: .*") > ("mail.spam" "^X-Spam-Status: Yes.*") > ("mail.virus" "^X-JDB-Virus-Warning:.*") > ("mail.spam" "^X-YahooFilteredBulk: .*") > ("mail.receipts" "^Subject: Return Receipt.*") > > ;; > > ("mail.mail" "") > ) > ) One difference between the virus rule and the other rules is that the virus rule does NOT have a space (or tab?) after the colon. I would be surprised, but you never know... Btw, I think the ".*" at the end are not needed. (".*" at the end might be useful for fancy splitting.) The string "xyzzy" matches the regexp "x" just like it matches the regexp "x.*". -- Two cafe au lait please, but without milk.