in Mail, Web

How to install Roundcube on squeeze

Roundcube is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking.

Installation is easy in Debian but the application is pretty outdated in the squeeze apt repository so you may want to install the latest version manually instead. You can download the source from Sourceforge.

1. Install roundcube

apt-get install roundcube roundcube-mysql

2. Configure apache (pico /etc/apache2/conf.d/roundcube)

Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
Alias /roundcube /var/lib/roundcube

3. For some reason the default language is set to ar_SA. Change it to English (pico /var/lib/roundcube/config/

$rcmail_config['language'] = 'en_US';

4. Restart apache

/etc/init.d/apache2 restart

Now you can access Roundcube on this location: http://yourserver/roundcube

Write a Comment


  1. This works perfectly. Thank you.
    Note you only can login on roundcube if you are running an imap mail server.
    Also Roundcube’s login screen will ask for a server, you have to enter your mail server here, e.g.:

  2. Another tip: use the Debian backports for Squeeze to get a newer version of Roundcube. It works great.

  3. how do you deploy this multiple vhost accounts with different domains?

  4. You might like to try “dpkg-reconfigure roundcube-core”
    this will reconfigure roundcube i.e. choose language, and reconfigure apache, mysql automatically.

  5. @John Nguyen
    Copy/paste the two Alias lines in the corresponding vhost if you have several domains.