Cyrille's suggestion worked well. Here's the recipe I'm using (pretty much
as Cyrille suggested):
:0
* ^Content-Type:.*text/enriched
* ^Content-Disposition:.*inline
{
:0 fhw
* ^Content-Type:.*charset=\/.*
| formail -I "Content-Type: text/plain; charset=${MATCH}" -I
"Content-Disposition"
:0 fbw
| richtext -t -s ${MATCH}
}
For RH 9.0, Cyrille pointed me to this RPM:
http://www.opennms.org/files/releases/latest/linux-i386-redhat-9/RPMS/metama
il-2.7-25.i386.rpm
you'll also need sharutils as a pre-req:
ftp://195.220.108.108/linux/redhat/9/en/os/i386/RedHat/RPMS/sharutils-4.2.1-
14.i386.rpm
(We'll have to leave it up to Ruud to code richtext->plaintext all in
procmail scripts.)
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail