You can do this with Mimedefang (hence the name) in the function remove_redundant_html_parts().
Mimedefang is callable from both Postfix and Sendmail, since they both use the libmilter.
In this case, though, coreboot is hosted on Google so we wouldn’t have that degree of control.
On Mar 13, 2014, at 1:32 PM, Corey Osgood corey.osgood@gmail.com wrote:
On Mar 12, 2014, at 6:56 PM, Kurt QH1 Qiao qiaoqh1@lenovo.com wrote:
What about mail server run a script that convert HTML mail to be plain text mail?
Most mail clients send html formatted emails as an additional format, along with the plain text. A script to check for "Content-Type: multipart/alternative" and, if found, strip the html part of the message should suffice. If only html is found, reject the email with a notice to the sender, trying to strip only the html could mess up other parts of the message. Making the strip an option for mailing list subscribers would be a bonus.
-Corey