[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 743
  • Last Modified:

converting html email to plain text with procmail and exim

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.
1 Solution
Please have a look at the following doc (+ links in the doc):

use script "demime" to convert it:

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now