We semi-frequently get notified of spam in the form of AOL's notorious abuse reports. The actual spam is an attachment of mime type message/rfc822, which we have to extract by hand to make them easier to organize. We would like to have a tool that operates on all of these messages in one keystroke.

Is there a good way to automatically do this, pulling out every rfc822 attachment from an mbox and writing it back into the same mbox, or will we have to resort to writing some perl?

This macro from the mutt wiki appears to do what we want, albeit on just an individual attachment - http://dev.mutt.org/trac/wiki/MuttFaq/Attachment macro attach E <save-entry><kill-line>/home/insert_username_here/aol_mbox<enter>

I have not been able to find any documentation on how to map over attachments by mime type, nor how to map over just the sc...@aol.com messages.

Any ideas?

Regards,
JMQ

Reply via email to