On Mon, 17 Mar 2003, Philip Tejera wrote:

> 
> Unfortunately my institution just got spammed with objectionable material.
> Naturally, the administration wants me to delete as much of it as remains in
> the Maildirs. When I was just running qmail, this was easily done with a
> find . | xargs grep xxx > somefile, and then deleting the files listed in
> somefile. 

First, never run the output of find through xargs.
That is a terribly classic mistake.
use find . <args> -print0 | xargs -0 blah blah
if you *must* pipe output of find through xargs.

find . <args> -exec grep <grep args> {} \;
is probably better yet.

On to your question.

Don't worry much about it.  courier-imap, at least, rebuilds the uiddb
when it needs to.  Consider shutting down the services of the user's
whose mail your are going to futz with, but I don't have any more
advise for you.

--
Applying computer technology is simply finding the right wrench to
  pound in the correct screw.

Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to