
On 06/01/15 10:11, Russell Coker wrote:
If the problem is indexing on the IMAP server then you could try configuring the IMAP server to use different indexing or to use a different IMAP server program. Dovecot seems to have some reasonable options for indexing that don't waste much CPU time.
This also depends on the nature of your back end storage - like NFS for example when you can get time out's for read lock. The issue isn't so much the dovecot can be configured to do x with y resources it has to do with the fact that things are generally in production and have web mail, AV, mailman, SMTP, procmail, SA, etc all working together in real time on a single node. Fixing/messing with one function of the server can impact the others. My recommendations are don't have endless email archives (none of us are really that important) and expect to wait when you start moving relatively large chunks of plain text files around that are split are arbitrary lines aka mail spool files. Cheers P