procmail
[Top] [All Lists]

How to manipulate the Subject line ?

2003-10-14 08:22:07
Hello, 

Some Mailinglists add endless extra stuff th the Subject line like

[MPlayer-users]

In the console with mutt the subjectline will not be readable correctly...
Curently I am executig some small Scripts like:
 
#!/bin/bash
cd /home/michelle/Maildir/mplayer-users(_at_)mplayerhq(_dot_)hu
for i in `ls */*` ; do
    sed 's/\[MPlayer\-users\] //g' $i > $i.tmp
    mv $i.tmp $i
done

to correct the Messages in the Maildirs...
But now like to do this automaticly from 'procmail'. 

How to do ???

Thanks
Michelle


-- 
Registered Linux-User #280138 with the Linux Counter, http://counter.li.org.

_______________________________________________
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>