Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2000 00:09:50 -0800
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        "Michael C . Wu" <keichii@peorth.iteration.net>
Cc:        chat@FreeBSD.ORG
Subject:   Re: freebsd mailing lists filter
Message-ID:  <20001107000950.K75251@149.211.6.64.reflexcom.com>
In-Reply-To: <20001107015410.A62192@peorth.iteration.net>; from keichii@iteration.net on Tue, Nov 07, 2000 at 01:54:14AM -0600
References:  <20001107015410.A62192@peorth.iteration.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <brett@lariat.org>
        /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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001107000950.K75251>