procmail
[Top] [All Lists]

Re: remove text from body and change subject and author

2005-01-07 23:25:07
* Fabian Braennstroem <f(_dot_)braennstroem(_at_)gmx(_dot_)de> [2005-01-07 
10:21]:

I would like to get rid of the top and the bottom of the
body text (so actually just keep the stuff between the
second and third '---------'). 

I see you're using mutt.  I once used procmail to remove all the
repetitive types of junk that comes from mailing lists, and someone
here pointed me to a tool that saves me the constant burdon of writing
scripts for every list: TOFU Protection.  This is a perl script that
you can integrate with mutt to make the job easier.  You might want to
search around for a file named t-prot.pl.

Procmail is a sledge hammer solution, and while it's a powerful tool,
I try to look for other ways to handle a problem when practical
because the scripts seem to get out of control and take on a mind of
their own.  It's aaalliiiivvvve!

____________________________________________________________
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