Multiple servers and NFS
Stan Hoeppner
stan at hardwarefreak.com
Thu Jul 24 20:22:48 UTC 2014
On 7/24/2014 12:09 PM, Nathan Schultheiss wrote:
...
> |----> Mail it's stored in MailDir format "mail_location = maildir:%h"
>
> When I go on Roundcube with a mailbox who I've 96000 in the INBOX "cur" folder, the first time I need 1 minutes waiting.
> The second time it's a little more quick 10 seconds... But when I go back again (after a few hours) it's slow again... And we'are just 5 users at the moment for test...
This is a caching problem, not an NFS problem.
See /etc/roundcube/main.inc.php
// enable caching of messages and mailbox data in the local database.
// this is recommended if the IMAP server does not run on the same
// machine
$rcmail_config['enable_caching'] = FALSE;
Change that to TRUE. You will also need a database configured on the RC
host, such as sqlite or mysql.
Cheers,
Stan
More information about the dovecot
mailing list