From owner-freebsd-chat Thu Jul 24 03:51:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA22152 for chat-outgoing; Thu, 24 Jul 1997 03:51:01 -0700 (PDT) Received: from labs.usn.blaze.net.au (root@labs.usn.blaze.net.au [203.17.53.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA22138 for ; Thu, 24 Jul 1997 03:50:54 -0700 (PDT) Received: from labs.usn.blaze.net.au (davidn@local [127.0.0.1]) by labs.usn.blaze.net.au (8.8.6/8.8.5) with ESMTP id UAA00697; Thu, 24 Jul 1997 20:49:12 +1000 (EST) Message-Id: <199707241049.UAA00697@labs.usn.blaze.net.au> X-Mailer: exmh version 2.0gamma 1/27/96 To: "Kenneth J. Monville" cc: Francisco Reyes , freebsd-chat@FreeBSD.ORG Subject: Re: What string to filter FreeBSD lists? In-reply-to: Your message of "Wed, 23 Jul 1997 07:50:00 EST." <19970723075000.00233@wasted.bandwidth.org> X-Face: (W@z~5kg?"+5?!2kHP)+l369.~a@oTl^8l87|/s8"EH?Uk~P#N+Ec~Z&@;'LL!;3?y Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 Jul 1997 20:49:12 +1000 From: David Nugent Sender: owner-freebsd-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Tue, Jul 22, 1997 at 06:26:20PM -0400, Francisco Reyes wrote: > > Could anyone share with me what strings they use to filter their > > FreeBSD lists. > > I have tried a few things, but every now an then messages go > > unfiltered.. > > I use procmail to filter my mail, this is an example entry: > :0: > * ^From.owner-freebsd-chat@FreeBSD.org > IN.chat > > It is using the first line in the header to filter the mail based on sender. Yep, I've found that ^From is the most reliable method of filtering with procmail, but it assumes that this line is preserved right into the mailbox (ie. the envelope arrives intact). This works with the bulk of mailing list software, and even allows cleanly distinguishing between private replies and replies to the list. Pop users, for example, won't have this luxury (fetchmail, popclient or similar), where the From_ line is not transmitted, but for local re-delivery is derived via a heuristic which uses other headers and may not be exactly right. Regards, david -- David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/