Purging old attachments?

I’d like to do something from the command line, but I’m having a hard
time putting this together.

It’s part of the Shredder.

I want to search a Queue, for everything matches a subject “Voice Mail”,
that is Resolved, and Resolved more than 30 days.

I then want to remove the *.wav attachment that is located in the
tickets.

Thanks for pointing me in the right direction!

-Mark

Mark Jenks

Network Administrator

iod incorporated

mark.jenks@iodincorporated.com mailto:mark.jenks@iodincorporated.com

920-406-3702

CONFIDENTIALITY NOTICE: The information contained in this email message, including any attachments, may be
privileged, confidential and otherwise protected from disclosure. If the reader of this message is not the
intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this
message, including any attachments, is strictly prohibited. If you have received this email message in
error, please notify the sender by reply email and delete/destroy the email message, including attachments,
and any copies thereof. Although we have taken precautions to minimize the risk of transmitting viruses via
email and attachments thereto, we do not guarantee that either is virus-free, and we accept no liability for
any damages sustained as a result of any such viruses.