procmail
[Top] [All Lists]

Re: what's the subject of the thread about getting rid of the Re^# stuff

1997-08-09 14:29:00
On Fri,  8 Aug 97, Timothy J Luoma wrote:

There was a thread about this, but I can't find it.

I'm getting email with the (&(* Subject with Re^2 and the like.

Didn't someone just mention this?  I can't find the solution, if any.

Could someone remind me?

Timothy,

I asked about that recently, and got a lot of helpful responses. The subject  
was "Brain dead Re^2 killer?".

The recipe I ended up using is:

# Deal with all manner of subject line perversions of "Re:"
:0 fhD
* ^[Ss][Uu][Bb][Jj][Ee][Cc][Tt]: *\
        (RE:|re:|([rR][eE]: ?)*[rR][eE][[^]|[rR][eE]: *[rR][eE]:)
| perl -pe 's/^subject:\s*(re[][^\d]*:\s*)+/Subject: Re: /i;'

It has worked very well for me. Haven't seen a "RE:Re^42:rE" ever since.

Best regards,
Ben