(resending, sorry if you get this twice) I seem to remember that we're doing some huge amount of extra work during header removal that we shouldn't be doing. Someone really should fix this...
If you're using report_safe, then this will be vastly faster: http://jmason.org/software/scripts/extract-rfc822-attachment.txt Daniel -- Daniel Quinlan anti-spam (SpamAssassin), Linux, http://www.pathname.com/~quinlan/ and open source consulting
