Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 1998 01:34:51 -0500 (EST)
From:      gsutter@pobox.com
To:        "Jason C. Wells" <jcwells@u.washington.edu>
Cc:        FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: procmail filters for this list
Message-ID:  <Pine.BSF.3.96.980206013141.8235G-100000@mph124b.rh.psu.edu>
In-Reply-To: <Pine.BSF.3.96.980203212301.1111D-100000@s8-37-26.student.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Feb 1998, Jason C. Wells wrote:

>Could some procmail user please send me the filters that they use for
>this list?

I named the target mailboxes with the name of the list (e.g. "announce",
"hackers", "questions", etc.) and use the following recipe:

===

FROM="^((X-)?(((Envelope-)?Sender|(Apparently-|Resent-)?From)|Reply-To|Return-Path):(.*\<)?)"

:0
* $ ($FROM|$TO_)freebsd.org
{
        :0 :
        * (X-Loop: FreeBSD.org|Sender: owner-freebsd-)
        * $ ($FROM|$TO_)(freebsd-)?\/(announce|bugs|chat|hackers|isp|questions|security)
        | formail -i "X-Fkey: freebsd-$MATCH" >> freebsd/$MATCH
}

===

GReg
-- 
Gregory S. Sutter                       "How do I read this file?"
mailto:gsutter@pobox.com                "You uudecode it."
http://www.pobox.com/~gsutter/          "I I I decode it?"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980206013141.8235G-100000>