converting html email to plain text with procmail and exim

Posted on 2004-11-11
Last Modified: 2013-12-15
I need to filter mail sent to certain addresses through 'unhtml' to make sure all emails are in plain text before being forwarded on.  I am using exim 4 and I think I need to do this by using procmail and altering my .forward files.  I have been trying to do this all day and have spent ages going through the man pages and tutorials for procmail but have had no success.  Someone surely has done this before but I can't find any examples.  Can anyone please provide me with a site to go to that shows examples of this or similar setups.  Even better than that would be if someone could post what I need to put in the .procmailrc file and the .forward file to get this working.
Question by:phreak7t7
    1 Comment
    LVL 38

    Accepted Solution

    Please have a look at the following doc (+ links in the doc):

    use script "demime" to convert it:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now