On 03/04/2015 05:04 AM, hw wrote: > Hi, > > can I remove or delete emails from the imap directory directly (with rm) > without screwing things up? > > I'm running a virus scan over the spool directory and wonder how to get > those messages removed within which a virus has been found. The easiest > way would be to let the virus scanner do this, and the virus scanner > doesn't use IMAP. Take a look at cyr_virusscan in Cyrus. It currently only supports ClamAV, but it should be easy to add other scanners if needed. -- Kenneth Murchison Principal Systems Software Engineer Carnegie Mellon University ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus