From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67761 Path: news.gmane.org!not-for-mail From: Seweryn Kokot Newsgroups: gmane.emacs.gnus.general Subject: Re: regexp for nnmail-split-methods Date: Tue, 04 Nov 2008 21:29:45 +0100 Message-ID: <87vdv3i69y.fsf@poczta.po.opole.pl> References: <87r65sithq.fsf@poczta.po.opole.pl> <87wsfk7fr2.fsf@marauder.physik.uni-ulm.de> <87myggv5pd.fsf@gmail.com> <861vxswjnn.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225830411 6447 80.91.229.12 (4 Nov 2008 20:26:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 20:26:51 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16212@lists.math.uh.edu Tue Nov 04 21:27:53 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KxSVA-00025r-4D for ding-account@gmane.org; Tue, 04 Nov 2008 21:27:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KxSTr-00089C-Vz; Tue, 04 Nov 2008 14:26:28 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KxSTq-00088w-QL for ding@lists.math.uh.edu; Tue, 04 Nov 2008 14:26:26 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KxSTk-0003pQ-AV for ding@lists.math.uh.edu; Tue, 04 Nov 2008 14:26:26 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KxSTs-00044N-00 for ; Tue, 04 Nov 2008 21:26:28 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KxSTj-00016V-HE for ding@gnus.org; Tue, 04 Nov 2008 20:26:19 +0000 Original-Received: from nat-warynskiego.po.opole.pl ([217.173.199.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Nov 2008 20:26:19 +0000 Original-Received: from sewkokot by nat-warynskiego.po.opole.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Nov 2008 20:26:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-warynskiego.po.opole.pl X-Operating-System: Debian GNU/Linux User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:s+eH/eSqxW1gcB1c2y0adDeKrx0= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67761 Archived-At: Ted Zlatanov writes: > On Mon, 03 Nov 2008 21:51:26 +0000 Rupert Swarbrick wrote: > > RS> Reiner Steib writes: >>> How about this? >>> >>> (setq nnmail-split-methods >>> '(("nnml:mail.foo" "^From:.*foo@domain\\.com") >>> ("nnml:mail.others" "^From:.*[^f][^o][^o]@domain\\.com") >>> ("nnml:mail.inbox" ""))) > > RS> Hmm, except to which inbox should something from barfoo@domain.com go? > RS> (Not that I've managed to think of a solution!) > > You should really consider fancy split methods, they can do this easily > without torturing regular expressions. > > Ted Thanks for all replies, in this case I will use nnmail-split-fancy variable since changing the order of lines in nnmail-split-methods doesn't help. -- regards, Seweryn