On Sun, 2005-06-19 at 20:17 -0500, Ron Johnson wrote: > On Mon, 2005-06-20 at 09:22 +1000, Ian Mortimer wrote: > > Some people here are still using 1.4.6 and I notice that a few have > > large pop account cache directories: > > > > ~/evolution/mail/pop/[EMAIL PROTECTED]/cache > > $ du -c -s -h .evolution/mail/imap/[EMAIL PROTECTED]/folders > 250M .evolution/mail/imap/[EMAIL PROTECTED]/folders > 250M total
Yes but imap isn't a cache, pop is! > > What's the safest way to purge these caches? > > Is it necessary to shut evolution down first? > > > > I'm thinking of doing something like: > > > > find $dir -atime +1 ... > > > > so it doesn't interfere with current operations even if evolution > > is running. Is that safe? > > > > (I thought this question might have been asked before but all I could > > find in the archives was that these caches should be purged > > automatically.) > > Maybe an at-startup thread that goes thru the cache, deleting > cached emails that are, say, 7 days old would be useful. After > the first time, it should be pretty fast. This is only a pre 2.0 problem, in 2.0 we have a cache which does check for old stuff and automatically removes it. It doesn't check often enough though, so it can grow a fair bit first. I think, I think you can just try the find above, making sure the only files you remove are actually the messages and not other data. I think the 'uid-cache' file is stored elsewhere, which stores which messages have been downloaded, so it should be safe. Backup, try it, if it works it works I guess. _______________________________________________ evolution maillist - [email protected] http://lists.ximian.com/mailman/listinfo/evolution
