delete specific mail in all folders

Paul van der Vlis paul at vandervlis.nl
Mon May 11 06:34:31 EDT 2009


Gerald Nowitzky schreef:
> Hello!
> 
> I have been confronted with a request today: We are running cyrus as imap 
> server. We have currently about 3 million files and 150GB in our mail dir. 
> One user has accidently sent something confidential to all users via a list. 
> The request was, of course, to delete the mail from all mailboxes. Is there 
> any reasonable approach to do something like this?

Maybe you could use 'find' with some characteristics of the message,
like the size and the date. You could replace the found files with the
same message, but where all what is confidential was removed.

With regards,
Paul van der Vlis.




-- 
http://www.vandervlis.nl/



More information about the Info-cyrus mailing list