Procmail bliss

Matts on 2004-09-06T13:56:43

At work I get a lot of HTML emails that are sent with annoyingly small fonts (favourite seems to be Courier New "small") that I can barely read. Well I had enough today and added this to my procmailrc:

:0 B
* NAME=3D"Generator" CONTENT=3D"MS Exchange Server
{
    :0 hfw
    | sed -e 's/Content-Type: text\/html/Content-Type: text\/plain/'

:0 bfw | mimencode -u -q | lynx -dump -stdin }
My email life is now good once again. I suspect there are better ways of doing this that will match more emails, but its the internal ones I care most about, and this gets those.