hi - what is a sensible way of removing old mails on a system that holds 
millions of users as a means of keeping storage requirements down.

the use of quotas is fine as a cap on individual accounts ... but this is a 
separate issue from removing old mail.

a simple solution is to have a process that trawls the filesystem for old mails 
and deletes it. this is fine but means that the activity on the sotrage system 
is always non-zero and there may occasionally be locking issues when users log 
in via imap/pop./webmail.

another solution is to use events triggers such as when the user logs in/out - 
but this is not useful for unused accounts which then accumulate unread mail. 
also triggering around user actitivity means that the same mailbox is beign 
competed for by two processes - the mail reader/writer and the cleaning process.

any thoughts - what are the lessons learned in the area...?

tariq


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

Reply via email to