I'm currently using two little scripts to rid myself of AOL and MS
Outlook users who send HTML email by default when there is no need for
HTML
:0
* ^Content-Type: multipart/alternative
{
:0fbw
* ^From:(_dot_)*(_at_)aol\(_dot_)com
|sed '1,/Content-Transfer-Encoding: /d; /--part/,$d' | sed "s/=A0//"
:0fbw
* ^X-Mailer: Microsoft Outlook
| sed '1,/Content-Transfer-Encoding: /d; /------=_NextPart_/,$d' |
sed "s/=$//" | sed "s/=20//"
}
#
This seems to work fine in the limited testing I have done.
Currently I'm modifying the Subject: line to let me know when the above
has run, but I would prefer to drop a little line at the bottom of the
body of the email saying:
{this message modified by unhtml.rc}
(Note that I would like to also insert 1 blank line to come before that
inserted line)
TjL
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail