I report spam to SpamCop among other places. I get mail from several upstream places (where I don't have control of the SA parameters), so when I get spam, it's often wrapped in a variety of different ways (sometimes as a MIME attachment, sometimes with SA results in the headers, etc.).
I'd like to send as original a message as I can to SpamCop and other places since they don't like munged reports. Currently I'm doing this manually, which is annoying. I note that sa-learn knows how to remove all SA-specific annotations from a message (unwraps MIME, removes headers, etc.). Is that functionality available in any other way? What I'd like to do is have a spam folder and just call a script that reads each message, scripts it, and then reports each spam. What I don't have is the code that un- SpamAssassins each message. Is that code available anywhere (possibly as a standalone script, say Python or something like that)? JDO