Edward Wildgoose wrote:
I had a look at mimencode, but this doesn't seem to do this?
Doesn't it? Something along these lines should work, I think:
CTE="Content-Transfer-Encoding"
:0 fbw
* $ ^$CTE: quoted-printable
| mimencode -u -q
:0 a fhw
| formail -I"$CTE: 8bit"
:0 fbw
* $ ^$CTE: base64
| mimencode -u -b
:0 a fhw
| formail -I"$CTE: 8bit"
Untested, though.
/HW
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail