Posts Tagged ‘roundcube’

Optimize roundcube

Posted: 04/04/2013 in Shell tips
Tags: ,

Use this to optimize roundcube load time. Just edit:

vim /var/lib/roundcube/config/

And make these changes

// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
$rcmail_config['imap_cache'] = 'db';
// Enables messages cache. Only 'db' cache is supported.
$rcmail_config['messages_cache'] = true;

To make fail2ban monitor roundcube 0.8+ authentication access in logs/errors add this to
/etc/fail2ban/jail.conf or /etc/fail2ban/jail.local

enabled = true
port = http,https
filter = roundcube
logpath = /var/lib/roundcube/logs/errors
maxretry = 3