On Aug 6, 2008, at 3:44 PM, Ron Culler wrote:
We currently run a find command and remove the files that are over 7 days old but still have boxes with upto 60k messages in them.
With v1.1 you could use expire plugin. http://wiki.dovecot.org/Plugins/Expire
I know that dovecot will update the index files for each mailbox when the boxes is accessed by an IMAP client(Webmail using Squirrel)but
that can take quite a while to index.What I would like to do is via a cron job after the old file remove is to force dovecot to reindex these boxes. That way when the users login to the webmail interface it is quicker.
Are you sure the slowdown is because of deleting messages? The syncing
after that should be about instantaneous even for huge mailboxes. Or
could the problem be for example that the messages' headers (etc) just
haven't been indexed for the mailbox and it takes a while to do that
when the mailbox is opened?