Code for manipulating all messages matching some criteria?

Dave McMurtrie dave64 at
Tue Oct 22 20:33:21 EDT 2013

>From my phone, so excuse my brevity. It might be worth your while to build cyr_virusscan.  It comes with the distribution but doesn't build by default. It should be able to scan your mail spool and remove viruses (things that match a virus signature) for you.  You could create a signature using ClamAV's sigtool if necessary.

If you are interested, I can try to help or Ken can chime in.



On Oct 22, 2013, at 3:37 PM, "Jason L Tibbitts III" <tibbs at> wrote:

> Recently our campus was hit with a particularly bad targeted trojan
> attach and the IT overlords sent out a demand that we (a small
> department with several hundred mailboxes on our own server) go through
> all user mailboxes and actually delete the offending messages.  At least
> using the admin account this is actually kind of reasonable to do.
> While I'm sure I could whip something up if I actually had enough free
> time, I was wondering if anyone had already been through this kind of
> thing and had cobbled together any code to do it.
> I see something called imapfilter which might do the trick, but it seems
> to be completely opaque.
> - J<
> ----
> Cyrus Home Page:
> List Archives/Info:
> To Unsubscribe:

More information about the Info-cyrus mailing list