thanks for the many suggestions for removing mail.
what are people's thought on when to do this... options which have advantages
and disadvantagea are as follows. what are people's experiences...
* randomly clean parts of the userspace throughout the day
* do it all synchrnously at 3am?
* triggered by an event such as quota full or log-out. (not good for
neglected accounts)
i'm thinking in terms of impact on the servers and the underlying storage disk
controllers...
tariq
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen
C Woods
Sent: 28 June 2006 17:31
To: Roberto Polli
Cc: [email protected]
Subject: Re: [Courier-imap] efficiently removing old mail on large
systems
The disadvantage is that you are going to spawn LOTS of rm -f
processes, with the xargs approach you will spawn between 5% and 10%
as many.
<scw>
On Wed, Jun 28, 2006 at 06:26:26PM +0200, Roberto Polli wrote:
> Alle 18:21, mercoledì 28 giugno 2006, Stephen C Woods ha scritto:
> > your expire limit (please note that the command syntax of find is painful.)
>
> > e.g.
> > cd /w/maildirs
> > /bin/find . -type f -ctime +180 -print | /bin/xargs /bin/rm -f
> less pain if you do
> /bin/find . -type f -ctime +180 -exec rm -f {} \;
>
> because you don't have to wait find to return before starting the removal of
> mail ;)
>
> Peace, R.
>
> --
>
> Roberto Polli
> Babel S.r.l. - http://www.babel.it
> Tel. +39.06.91801075 - fax +39.06.91612446
> P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Courier-imap mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
>
--
-----
Stephen C. Woods; UCLA SEASnet; 2567 Boelter hall; LA CA 90095; (310)-825-8614
Unless otherwise noted these statements are my own, Not those of the
University of California. Internet mail:[EMAIL PROTECTED]
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap