zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Roundcube performance

December 12, 2010 by Igor Drobot Leave a Comment

There are many configuration options with inpact on performance in Roundcube and behind it (Database and Webserver). As Roundcube installation administrator you can set them to some defaults and prevent users to change them by using the ‘dont_override‘ option.

I tested some options and created my tiny boost list.
Here’s the list of options with impact on performance

Messages listing is a main task of a mail client. Sorting is expensive. First of all you should use an IMAP server with SORT capability. If message list displaying is still too slow you should set ‘message_sort_col’ to an empty string.
‘message_sort_col’

To keep the IMAP session open, Roundcube is sending a request to the IMAP server every ‘keep_alive’ seconds. When a user has a mail task window open, Roundcube will also check for new mail using this interval. To decrease the load, don’t set this too low.
‘keep_alive’ (‘min_keep_alive’)

This really slows things down. With ‘skip_deleted’ enabled, Roundcube needs to check the status of each message when displaying the list, count the messages, etc. E.g.
More performance = false
‘skip_deleted’

With enabled caching, Roundcube stores message counts, folder list and message headers in the database. You should consider enabling this if access to your database server is faster than access to the IMAP server.
‘enable_caching’

If, with enabled caching, your database is growing too fast, you can lower the lifetime to not store old messages. About 5-7 days.
‘message_cache_lifetime’

Optimize your Mail Domain Setup:

1
2
3
4
cat /etc/hosts
127.0.0.1 localhost.localdomain www.mydomain.com
# should be:
127.0.0.1 localhost.localdomain www.mydomain.com mail.mydomain.com

cat /etc/hosts 127.0.0.1 localhost.localdomain www.mydomain.com # should be: 127.0.0.1 localhost.localdomain www.mydomain.com mail.mydomain.com

Filed Under: Debian, Linux, Mailing, Ubuntu Tagged With: Roundcube, Webmail

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok