This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [off topic] WANTED: procmail rule for filing gcc mailing listtraffic
- To: Godmar Back <gback at cs dot utah dot edu>
- Subject: Re: [off topic] WANTED: procmail rule for filing gcc mailing listtraffic
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 12 Jan 2000 23:13:17 +0100 (MET)
- cc: gcc at gcc dot gnu dot org
On Wed, 12 Jan 2000, Godmar Back wrote:
> this may be slightly off-topic, but does anybody have a procmail
> rule that would reliably file all traffic to this mailing list?
If you want to do what you asked for, just use the third rules. By adding
the first and second rules, you filter all duplicate messages, that is,
messages sent to more than one of the gcc lists.
:0 Whc: msgid.lock
* ^Sender: gcc(-announce|-bugs|-patches)?-owner@gcc.gnu.org
| formail -D 8192 msgid.cache
:0 a:
/dev/null
:0
* ^Sender: gcc(-announce|-bugs|-patches)?-owner@gcc.gnu.org
INLIST.gcc
> For instance, I'm always delighted to find mails from Linus Torvalds
> in my personal (unfiled) mailbox. Turns out his postings have a
> To: submit-linux-egcs@transmeta.com
> line.
It's usually never advisable to filter mailing lists based on the To or
Cc headers. Sender or Mailing-List are much more reliable.
Hope this helps,
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/