From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/721 Path: news.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.user Subject: Re: fancy splitting and procmail Date: Wed, 03 Jul 2002 16:30:53 -0400 Message-ID: <87pty4366a.fsf@alum.wpi.edu> References: <87y9ctxh3l.fsf@Pulsar.resI.insa-lyon.fr> <87d6u4va4c.fsf@Pulsar.resI.insa-lyon.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667655 8134 80.91.229.2 (31 Jan 2006 00:34:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:34:15 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:01 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: lowell.missioncriticallinux.com Original-X-Trace: quimby.gnus.org 1025728435 11250 64.244.21.16 (3 Jul 2002 20:33:55 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 3 Jul 2002 20:33:55 GMT X-PGP-KeyID: 6B21489A X-Face: C%mBb*K1^od)w'=CH$WEZu/M^aR<,.n|1uAe,;MyNLKoel>F;-j[`L!>m:Y%/R}m&4&xuIM R%7Ez?vbd*Ns>VE;{\(yl|mGByV{D:Dm>'52].@P&t_s^,.d Boris DAIX writes: > (setq nnmail-split-fancy > '(| > (any "debian-\\b\\(\\w+\\)@lists.debian.org" "debian-\\1") > (any "ding@gnus.org" "gnus.list") > (any "jackit-devel@sourceforge.net" "JACK.list") > mail.misc > ) > ) > (setq nnmail-split-method 'nnmail-split-fancy) > (setq nnmail-resplit-incoming t) > ------------------------------------------------------ > > I don't understand why this doesn't work... "any" means To, From, Cc ? > I don't even trust the rules anymore... What doesn't work? I've had problems in the past matching some text with fancy split rules that were caused by gnus using re-search-backward to scan the message. For debian lists, I suggest matching on something like the Resent-Sender header. For example, here is the nnmail-split-fancy entry I use for my debian lists: ("Resent-Sender" "debian-\\(\\w+\\)\\(-request\\)?@lists\\.debian\\.org" "mail.lists.debian.\\1") Hope that helps. -- Josh Huber