deleting emails directly
Ken Murchison
murch at andrew.cmu.edu
Thu Mar 5 09:01:53 EST 2015
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
More information about the Info-cyrus
mailing list