HTML and Procmail

Now I have permanently switced to Mutt as my MTA (Mail Transfer
Agent), embedded HTML in emails has started to become a hindrance. So
I devised a simple procmail recipe to pipe all my HTML messages to text-only links2 so all the useless
formatting and images are removed, yet the messages are still readable
(if not more so).

:0:
* ^Content-Type.*text/html
{
        file = "/tmp/msg.dump"
        :0 fbw
        | cat > $file && links -dump $file
}
This entry was posted in software | and tagged , , Bookmark the permalink. Post a comment or leave a trackback: Trackback URL. | Edit

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*