On Mon, Mar 15, 1999, Nathan Treadway ([EMAIL PROTECTED]) said:
|
| I am subscribed to a couple of mailing lists that put the list name in
| square brackets at the beginning of the Subject, as in
|   Subject: [mylist] My problem
| and then followup messages with
|   Subject: [mylist] RE: My problem
|
| I'd like to be able to use mutt threading with these messages, but as
| far as I could understand the workings of "reply_regexp", it seemed
| there was no way to get the all the sample messages above to be included
| in the same psudo-thread (given that the messages often don't have
| In-Reply-To lines, unfortunately).

| Has anyone else solved this problem?

I dunno if "solved" is the proper word for it, but I demunge the
Subject: headers of the lists that I subscribe to of such bloody
crap at delivery time, using a bunch of procmail recipes of the
form:

 # Fixup braindamaged Subject: lines that some mailing lists insist on
 # munging, and so forth.
 #
 :0 Wfh
 | $SED -e 's/^Subject: *\[CTRL\] */Subject: /'
 :0 Wfh
 | $SED -e 's/^Subject: *[Rr][Ee]: *\[CTRL\] */Subject: Re: /'

 [...]

Other preceeding recipes nuke multiple consecutive Re:'s down to a single
one, and change Aw:'s to Re:'s.  Subsequent ones also eliminate various
forms of Fw:, Fwd:, etc.

I also run my messages through the subject demunger recipies twice, to
get rid of multiple [tags], which usually result from a message having
been crossposted to several lists.

Alas ... some of the braindead tags still sneak through, but I quickly
add new recipies, so my filters are getting smarter all the time.

It's an ongoing battle against the twits that setup lists to do such
unwelcome munging, much like the battle against spammers, and it takes
an ongoing effort to defeat their antics.

Have fun ... :-) ...!

/kim

Reply via email to