1 Feb
2007
1 Feb
'07
2:36 a.m.
Mick T wrote:
I personally use a shell script to achieve this:
find /var/virtualmail/ -regex '.*/\.\(Trash\|Junk\)\(/.*\)?\/\(cur\|new\)/.*' -type f -mtime +30
-exec rm '{}' \;
Nice. :) What's your load like doing this compared to number of users? I'm using a Maildir-on-NFS setup here, so there's always that to account for as well... I'm guessing you run this at 5am or so daily?
What about the Dovecot indexes -- will they adjust/fix/repair automagically when the user logs in? Same with dovecot-uidlist, it's self-healing?
-te
-- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com