This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [off topic] WANTED: procmail rule for filing gcc mailing listtraffic


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]