Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Monday September 06, 2004
08:56 AM

Procmail bliss

[ #20755 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.