procmail
[Top] [All Lists]

Re: sync References with In-Reply-To

2006-02-12 02:19:20
On Fri, 10 Feb 2006 11:47:39 +0100 "Ruud H.G. van Tol" 
<rvtol(_at_)isolution(_dot_)nl>
wrote:

  :0
  *   ^In-Reply-To:.*\/<.+>

  * ! ^References:.*$\MATCH
  * ! MATCH ?? @.*@
  * ! MATCH ?? ()<.*<
  {
    H_IRT = $MATCH
    :0 fh
    * ^References:.*\/<.+>
    | formail -i"References: $MATCH $H_IRT"
    :0E fh
    | formail -i"References: $H_IRT"
  }

(untested)

I'm replying to Ruud's message to keep thiis in the thread.

Want to see something UGLY? Look what WebTV doe to the In-Reply-To header:

Mailing-List: contact type2-help(_at_)type2(_dot_)tld; run by ezmlm 
X-WebTV-Signature: 1   
ETAsAhReysQbruxXjXpObJ+fqIN0B7O6twIUIN+28SEdBKCc61vTLGvE3c4N7Cs=  
From: CTONLINE(_at_)webtv(_dot_)tld (Terry K) 
Date: Sat, 11 Feb 2006 23:37:34 -0600 
To: emcrites(_at_)msn(_dot_)tld (Eron Crites) 
Cc: type2(_at_)type2(_dot_)tld 
Message-ID: 
<25113-43EEC99E-5044(_at_)storefull-3174(_dot_)bay(_dot_)webtv(_dot_)net> 
In-Reply-To: "Eron Crites" <emcrites(_at_)msn(_dot_)tld>'s message of Sat, 11 
Feb   2006 22:26:42 -0700
Content-Type: Text/Plain; Charset=US-ASCII 
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0 (WebTV) 
Subject: RE: [T2] Pleasur-Lift Air Shocks?

My IMAP server resoted to sorting his messages by subject so they ended up
WAAAYYY at the top of the current thousand or so I have archived (just
under 30 days worth) after something with a subject of "Re: [T2] NOS, NIB,
...".

The headers of the message he was replying to:

Mailing-List: contact type2-help(_at_)type2(_dot_)tld; run by ezmlm 
Message-ID: <BAY5-F93B00BE6D8254FAD5E665D7040(_at_)phx(_dot_)gbl> 
X-Originating-IP: [168.103.141.194] 
X-Originating-Email: [emcrites(_at_)msn(_dot_)tld] 
X-Sender: emcrites(_at_)msn(_dot_)tld 
From: "Eron Crites" <emcrites(_at_)msn(_dot_)tld> 
To: type2(_at_)type2(_dot_)tld
Date: Sat, 11 Feb 2006 21:47:47 -0700 
Mime-Version: 1.0 
Content-Type: text/plain; format=flowed 
X-OriginalArrivalTime: 12 Feb 2006 04:47:50.0290 (UTC)   
FILETIME=[7A27DF20:01C62F8F] 
Subject: [T2] Pleasur-Lift Air Shocks?

For snits and giggles I'm going to go into my mail store and manually edit
the IRT header and see if the server reindexes it correctly when I reload
that folder. I don't see any way to automatically correct the bastardized
WebTV IRT header. It actually contains no useable information from the
header of the original message that I can see.

Gerald


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>