Maildir index

2014-06-11 Thread Eduardo Ramos

Hi all!

I store  my maildir mailboxes in a ocfs2 volume. By default, my indexes 
are stored with the inbox. If I change now to a local disk, could I have 
trouble? That's my production server.


Thanks!


[Dovecot] Maildir Index Question

2008-08-06 Thread Ron Culler
We have several hundred mailboxes that have thousands of files in them
(spam boxes)

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.
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.

Does anyone know if a script is available to do this?

Thanks
 

Ron Culler





Re: [Dovecot] Maildir Index Question

2008-08-06 Thread Timo Sirainen

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?




PGP.sig
Description: This is a digitally signed message part