email attachment cleaner

If my virus scanner detects any virus, I use this to clean my emails from any attachments. Plus any html content is converted to simple text. NOTE: This is not considered to be THE solution to view virus email. The best is to delete them without viewing (well except maybe view with "pine").

Update:

Depends on the perl modules:

download:
clean_virus_email.pl
License

This software is GPL licensed.

Usage:
The raw email is fed into the script. Like: "MTA | clean_virus_email.pl"
The email is then cleaned from all attached content (programms, VBA scripts, PDF and pictures). The HTML text is converted into "text/plain", which I consider secure because there are no links to follow.
The resulting email then get an explanation about the cleaned content, and the content is replaced as a sub-container in the email. Then the email is given to the local MTA which submits it to the original recipient.

Examples: