On [2003-Mar-06] Violet violet@torithoughts.org wrote:
So I'm wondering... is there any way [or can anyone here come up with a way] to make Smartlist simply convert any and all HTML/encoded messages to plain text? There has got to be *some* way to make that happen, doesn't there? I have other friends running mailing lists using other software programs and they've been able to do this, so it seems like Smartlist should be able to as well.
I use stripmime.pl as a simple "take the plaintext part and dump the html part" filter. I still do not accept html-only message on my lists and no subscribers I have (including those AOL'ers) are unable to have mail sent as, at least, multipart/alternative so a text version is available.
I simply put
:0 fw * ^Content-type: .*multipart/(alternative|mixed) * B ?? Content-type: text/plain | perl $STRIPMIME
in rc.local.s00 and be done with it.
(stripmime is small and self-contained perl scropt and is available from http://www.phred.org/%7Ealex/stripmime.pl)
Rich