procmail
[Top] [All Lists]

Re: How to manipulate the Subject line ?

2003-10-19 07:30:00
On 14 Oct 2003, at 09:15, Michelle Konzack wrote:
Hello,

Some Mailinglists add endless extra stuff th the Subject line like

[MPlayer-users]

# Following from  Bart Schaefer <schaefer(_at_)zanshin(_dot_)com>
:0
* ^Subject: \/(Re: |\[[^]]+\] )+[^][]
* MATCH ?? ()\/(Re: )
{ RE=$MATCH }

:0fhW
* ^Subject: (Re: |\[[^]]+\] )+\/[^][].*
| formail -I"Subject: $RE$MATCH"

seems to work pretty well, although sometimes I see a extra space inserted into a Re: Subject. Haven't fiddled with it though.

--
You too will get old. And when you do you'll fantasize that when you were young prices where reasonable, politicians were noble, and children respected their elders.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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