procmail
[Top] [All Lists]

Re: Modifying the body of emails

2007-07-07 07:32:16
* LuKreme wrote:
:0
* tests
* go here
* to ensure right message
{
   :0fwB
   | sed 's/<br><br>--<br>/<p style="color: gray; font-size:80%">/'

   :0fwB
   | sed 's/\d:\d\d:\d\d .M/&</p>/'
}

Make that ":0fwb" both times. "B" is used to check the message body
instead of the header (which is pointless here since there aren't any
conditions at all in these recipes), "b" means to pipe only the
body through the external command - that's what you want here.

/HW
____________________________________________________________
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