From owner-freebsd-chat Tue Nov 7 0:10:14 2000 Delivered-To: freebsd-chat@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 7FA1637B4C5 for ; Tue, 7 Nov 2000 00:10:12 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 7 Nov 2000 00:08:38 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eA789o772191; Tue, 7 Nov 2000 00:09:50 -0800 (PST) (envelope-from cjc) Date: Tue, 7 Nov 2000 00:09:50 -0800 From: "Crist J . Clark" To: "Michael C . Wu" Cc: chat@FreeBSD.ORG Subject: Re: freebsd mailing lists filter Message-ID: <20001107000950.K75251@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20001107015410.A62192@peorth.iteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001107015410.A62192@peorth.iteration.net>; from keichii@iteration.net on Tue, Nov 07, 2000 at 01:54:14AM -0600 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Nov 07, 2000 at 01:54:14AM -0600, Michael C . Wu wrote: > Hello, > > I've finally gotten sick of reading all of the same mail > and various hard to keep track cc: stuff. So here > is a procmail filter that filters by list-owner of every > freebsd mailing list except -core and -developers. > Replies and cc's to various lists are sorted correctly. Enjoy. :) [snip] You should try the ol' classic from Neil Blakey-Milner, :0 * ^Sender:.owner-freebsd-\/[^@]+@FreeBSD.ORG { LISTNAME=${MATCH} :0 * LISTNAME??^\/[^@]+ freebsd-${MATCH} } Will do all of that automagically... 'Course, mine actually looks like, :0 *^Sender: owner-freebsd-\/[^@]+@FreeBSD.ORG { :0 *^(From|To|Cc): .*Brett Glass /dev/null LISTNAME=${MATCH} :0 * LISTNAME??^\/[^@]+ Mail/BSD${MATCH} } ;) -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message