deleting emails directly

Sven Schwedas sven.schwedas at tao.at
Wed Mar 4 05:13:25 EST 2015


On 2015-03-04 11:04, hw wrote:
> Hi,
> 
> can I remove or delete emails from the imap directory directly (with rm) 
> without screwing things up?

I think cyrreconstruct can be used in such cases, but it's certainly not
the recommended way to delete mails.

> 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.

Wouldn't it be safer to integrate the virus scanner in your MTA's
processing pipeline, /before/ delivering it to clients that might
automatically download the viruses before your file-based virus scanner
has a chance to delete it?

-- 
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
http://software.tao.at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20150304/d42517f3/attachment.bin 


More information about the Info-cyrus mailing list