I found that PINE would display a blank message if an email had been
changed by one of the two conditions below.
I found that if I deleted the MIME-Version header, the message would be
displayed, so I added a formail call which removes that header. I
suppose I could also remove the Content-Type and Content-Disposition
headers too (and I think I will change that in my recipe after I post
this
anyway, see below for corrections
:0
* ^Content-Type: multipart/alternative
{
:0fbw
* ^From:(_dot_)*(_at_)aol\(_dot_)com
|sed -e "$ a\\
\\
{this message modified by unhtml.rc for AOL users}\\
" -e '1,/Content-Transfer-Encoding: /d; /--part/,$d; s/=A0//'
:0afhw
|formail -i"MIME-Version:"
:0fbw
* ^X-Mailer: Microsoft Outlook
|sed -e "$ a\\
\\
{this message modified by unhtml.rc for Outlook users}\\
" -e '1,/Content-Transfer-Encoding: /d; /------=_NextPart_/,$d;
s/=$//g; s/=20//g'
:0afhw
|formail -i"MIME-Version:"
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail