Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There was an email account that was rather large (40G). The emails up until a certain date were archived, and they were to be removed after the user had time to keep what they wanted.
I had deleted the Maildir/archive2015 file which was 40G or so, and there is still 40G in the dovecot.index.cache file. I looked through the dovecot manpages looking for a way to clear that, but I didn't find anything.
If I if rename dovecot.index.cache to dovecot.index.cache.old, will dovecot create a new dovecot.index.cache, thus allowing me to delete the 40G renamed file?
I usually just try out things like that. I think I'd
1. stop dovecot
2. mv the cache file
3. restart dovecot
...and see what happens. If dovecot creates a new cache file (and I think it will), then you'd be ok to remove the old one
Before posting this, I did a search for "reset dovecot cache" and found this
Thank you for that link Sean. Dovecot docs say Dovecot will recreate and index files that are missing when the user checks their mail next. I did every search but 'reset'. I will try to delete the index.cache to see what happens, and if all works, I'll close this. It's a very busy mail server, so I am apprehensive about stopping it for one mailbox.
I deleted the dovecot.index.cache file, and I watched the logs. The user was able to login without issue, and Dovecot created a new dovecot.index.cache file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.