This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
procmail FAQ fodder. was: Suggestion for the GCC lists
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: procmail FAQ fodder. was: Suggestion for the GCC lists
- From: Robert Lipe <robertlipe at usa dot net>
- Date: Wed, 2 Feb 2000 09:50:48 -0600
- Cc: GCC Discussion List <gcc at gcc dot gnu dot org>
- References: <Pine.BSF.4.21.0002010235200.76959-100000@deneb.dbai.tuwien.ac.at> <3896F724.57D93286@intelligencia.com> <20000201170010.B7563@cygnus.com>
The "how can I procmail these lists" Q is becoming FA. I can't get to
the FOM or wwwdocs to commit or propose a precise patch, but here's
starting text. I borrowed heavily from Jason Molenda's work.
Q: How can I use procmail or similar tools to process the GCC mailing lists?
A: Fixed headers that you can rely on include the Sender: header, as well
as all of the RFC2369 headers (List-Subscribe, List-Unsubscribe,
List-Post, List-Archive, etc.)
As a procmail example, this rule will divert all mail from all the GCC
lists into a single folder named "gcc.folder"
:0:
* ^Sender:gcc.*-owner.*
egcs.folder
[ Just drop this paragraph if you don't like it. I consider the question
answered without it. ]
There is a proposed standard for a new header, List-Id, which the GCC
lists may start generating in February, 2000. It is yet another unique
identifier that can be used to reliabily distinguish mailing list
messages.