[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

filtering



First I'd like to thank everyone who replied to my comment. I apologize about
the length of this message. It combines the current comments and I'm
attempting to show that not every message has a uniform header. So please bear
with it and read on.

>From dragon!cogs.susx.ac.uk!luisgh Wed Apr  9 01:08:58 1997
>Return-Path: <dragon!cogs.susx.ac.uk!luisgh>
>Received: from dragon by westgac3.dragon.com
>	 with uucp id m0wEpcg-000FxvC
>	(Debian Smail-3.2 1996-Jul-4 #2); Wed, 9 Apr 1997 01:08:42 -0400 (EDT)
>Received: by vecnet.com (DECUS UUCP /2.0/2.0/2.0/);
>          Tue,  8 Apr 97 10:49:34 EDT
>Received: from rsunx.crn.cogs.susx.ac.uk by antaries.vec.net (MX V4.2 VAX) with
>          SMTP; Tue, 08 Apr 1997 10:46:04 EST
>Received: from masca.crn.cogs.susx.ac.uk by rsunx.crn.cogs.susx.ac.uk with smtp
>          (Smail3.1.29.1 #3) id m0wEc6L-0002zGC; Tue, 8 Apr 97 15:42 BST
>Received: by masca.crn.cogs.susx.ac.uk id m0wEc3F-00014zC (Debian Smail-3.2
>          1996-Jul-4 #2); Tue, 8 Apr 1997 15:38:53 +0100 (BST)
>Message-ID: <m0wEc3F-00014zC@masca.crn.cogs.susx.ac.uk>
>From: luisgh@cogs.susx.ac.uk (Luis Francisco Gonzalez)
>Subject: Re: How to modify subject of incoming emails using procmail
>In-Reply-To: <[🔎] m0wEaTD-000FxcC@westgac3.dragon.com> from
>          "tomk@westgac3.dragon.com" at "Apr 8, 97 08:57:35 am"
>To: tomk@westgac3.dragon.com
>Date: Tue, 8 Apr 1997 15:38:53 +0100 (BST)
>X-Mailer: ELM [version 2.4ME+ PL31 (25)]
>MIME-Version: 1.0
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 7bit
>Content-Length: 802
>Status: RO
>
>> I'd like to comment on this. If the debian-* list administrator(s) would edit
>> the debian-*.config files and change the "subject_prefix" option to reflect
>> the appropriate list, then all of the filtering would be easier on the members
> 
[snip]
>You can use the special headers X-Mailing-List to do the filtering.
>
>Hope this helps!
>Luis.

Ok Luis, please take a look the snapshot of the header from your own message.
Where is the "X-Mailing-List" line? I must be blind 8-) I can't seem to find
it. 8-)

To Johannes Martinez,
  Thanks for the comment. I can't say for certain whether or not the threads
would be affected. If the threading reader inspects the whole line rather than
just the first one or two words, I would guess that additional information
should not "munge" the threads.


>From dragon!unex.es!sanvila Wed Apr  9 01:09:32 1997
>Return-Path: <dragon!unex.es!sanvila>
>Received: from dragon by westgac3.dragon.com
>	 with uucp id m0wEpck-000FxcC
>	(Debian Smail-3.2 1996-Jul-4 #2); Wed, 9 Apr 1997 01:08:46 -0400 (EDT)
>Received: by vecnet.com (DECUS UUCP /2.0/2.0/2.0/);
>          Tue,  8 Apr 97 13:30:18 EDT
>Received: from debian.novare.net by antaries.vec.net (MX V4.2 VAX) with SMTP;
>          Tue, 08 Apr 1997 13:30:13 EST
>Received: (qmail 14915 invoked by uid 38); 8 Apr 1997 17:33:07 -0000
>Resent-Date: 8 Apr 1997 17:33:07 -0000
>Resent-CC: recipient list not shown: ;
>X-Envelope-Sender: sanvila@unex.es
>X-Authentication-Warning: guadiana.unex.es: sanvila owned process doing -bs
>Date: Tue, 8 Apr 1997 19:22:04 +0200 (MET DST)
>From: Santiago Vila Doncel <sanvila@unex.es>
>To: tomk@westgac3.dragon.com
>CC: jcostom@sjis.com, debian-user@lists.debian.org
>Subject: Re: How to modify subject of incoming emails using procmail
>In-Reply-To: <[🔎] m0wEaTD-000FxcC@westgac3.dragon.com>
>Message-ID: <[🔎] Pine.LNX.3.96.970408191729.5367B-100000@guadiana.unex.es>
>MIME-Version: 1.0
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Resent-Message-ID: <"-F-ng.0.de3.G5eIp"@debian>
>Resent-From: debian-user@lists.debian.org
>X-Mailing-List: <debian-user@lists.debian.org> archive/latest/2234
>X-Loop: debian-user@lists.debian.org
>Precedence: list
>Resent-Sender: debian-user-request@lists.debian.org
>Status: RO
>
>-----BEGIN PGP SIGNED MESSAGE-----
>
>On Tue, 8 Apr 1997 tomk@westgac3.dragon.com wrote:
[snip]
There is absolutely no need to munge the Subject line, since you have
already the Resent-Sender field.
[snip]

Hola Santiago Vila, 
   I'm curious, but where is the "Resent-Sender" field in the header of your
message? What do you make of the header of the message from Luis? 8-)

>From dragon!tapiola.infodrom.north.de!joey Wed Apr  9 01:23:01 1997
>Return-Path: <dragon!tapiola.infodrom.north.de!joey>
>Received: from dragon by westgac3.dragon.com
>	 with uucp id m0wEpcl-000Fy2C
>	(Debian Smail-3.2 1996-Jul-4 #2); Wed, 9 Apr 1997 01:08:47 -0400 (EDT)
>Received: by vecnet.com (DECUS UUCP /2.0/2.0/2.0/);
>          Tue,  8 Apr 97 13:42:20 EDT
>Received: from gimli.Informatik.Uni-Oldenburg.DE by antaries.vec.net (MX V4.2
>          VAX) with SMTP; Tue, 08 Apr 1997 13:42:14 EST
>Received: by gimli.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1) id
>          <m0wEeth-0003N0C>; Tue, 8 Apr 97 19:41 CST
>Received: at Infodrom Oldenburg (/\##/\ Smail3.1.29.1 #29.12 Joey) by
>          finlandia.Infodrom.North.DE from tapiola.Infodrom.North.DE with smtp
>          id <m0wEeuA-000VMOC>; Tue, 8 Apr 97 19:42 MET DST
>Received: at Infodrom Oldenburg (Smail-3.2 1996-Jul-4 #19) by
>          tapiola.Infodrom.North.DE id <m0wEevq-0003gkC>; Tue, 8 Apr 1997
>          19:43:46 +0200 (MET DST)
>Message-ID: <[🔎] m0wEevq-0003gkC@tapiola.Infodrom.North.DE>
>Date: Tue, 8 Apr 1997 19:43:45 +0200
>From: joey@tapiola.infodrom.north.de (Martin Schulze)
>To: tomk@westgac3.dragon.com
>CC: jcostom@sjis.com, debian-user@lists.debian.org
>Subject: Re: How to modify subject of incoming emails using procmail
>In-Reply-To: <[🔎] m0wEaTD-000FxcC@westgac3.dragon.com>; from
>          tomk@westgac3.dragon.com on Apr 8, 1997 08:57:55 -0400
>References: <[🔎] m0wEaTD-000FxcC@westgac3.dragon.com>
>X-Mailer: Mutt 0.45
>MIME-Version: 1.0
>Status: RO
>
>
[snip]
>All Debian lists contain a line like the following:
>
>X-Loop: debian-user@lists.debian.org

Thanks for the comment, Joey. However, I must be blind. I can't seem to find
the "X-Loop" field in 2 of the three headers presented from the debian list.
The headers are verbatim snapshots of the typical messages that I receive from
the debian-user list. What do you think?


To Brian White,
  Thanks for the filter list. Please inspect the above headers and let me know
if your list would correctly filter them. While your filter is very
comprehensive, I believe that it would not filter messages which lack the
"X-Mailing-List" field.

>Hi,
>
>	Not to be left behind, mailagent users can try:
>========================================================================
># The mailing lists I subscribe to:
>#get Debian stuf outa here first
>X-Mailing-List  X-Loop To Cc Resent-From Resent-To Resent-Reply-To:
> /DEBIAN/i  { VACATION off; UNIQUE -a; REJECT Debian };
>
>#
># munch, munch
>#
>
><Debian>  X-Mailing-List  X-Loop To Cc Resent-From Resent-To Resent-Reply-To:
>   /(debian-[\w-]+)(-(request|dist))?\@lists.debian.org/i  
>   { ASSIGN list %1; 
>     SUBST #list /-(request|dist)//gi; 
>     SUBST #list /devel-changes/changes/i; 
>     ANNOTATE X-Debian-list %#list; 
>     SAVE %#list.spool};
><Debian>  All:  /./     { ANNOTATE X-Debian-list Unknown; SAVE debian.spool};
>========================================================================
>
>	manoj

Thanks for the filter. Based on the headers that I see day to day, Your filter
appears to be the only one which will correctly catch all the variations of
debian-user messages. Thanks!

-- 
-= Sent by Debian 1.2 Linux =-
Thomas Kocourek  KD4CIK - member of ARRL
tomk@westgac3.dragon.com
--... ...-- ...  -.. .  -.- -.. ....- -.-. .. -.-


Reply to: