Revision of Roundcube from Wed, 02/15/2012 - 14:49

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

RoundCube Webmail 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. RoundCube Webmail is written in PHP and requires a MySQL or Postgres database. The user interface is fully skinnable using XHTML and CSS 2.

Installation
Download the source for Roundcube:

cd /extra/src
wget http://iweb.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.7.1/roundcubemail-0.7.1.tar.gz
tar zxf roundcubemail-0.7.1.tar.gz
mv roundcubemail-0.7.1 /var/websites/mail/htdocs/roundcube
chown -R nobody:nobody /var/websites/mail/htdocs/roundcube

Create the MySQL database:

/usr/local/mysql/bin/mysql -u root -p
CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
GRANT ALL PRIVILEGES ON roundcubemail.* TO username@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

Import the table layout:

cd /var/websites/mail/htdocs/roundcube
/usr/local/mysql/bin/mysql -u root -p roundcubemail < SQL/mysql.initial.sql

Point your web browser at http://http://example.com/roundcube/installer/.

Set the username_domain to your default domain so that the user's Roundcube preferences will be the same whether they login with their full email address or just the username portion.

Once you've used the installer to create main.inc.php and db.inc.php, save them in /var/websites/mail/htdocs/roundcube/config
After completing the installation and the final tests please remove the whole installer folder from the document root of the webserver.

rm -rf /var/websites/mail/htdocs/roundcube/installer

To make sure that the SSL redirection from your Apache config file is applied to Roundcube, edit /var/websites/mail/htdocs/roundcube/.htaccess and edit the mod_rewrite section to include:

RewriteOptions inherit

Updating
Based on the upgrading instructions from roundcube.net.

  • Backup the RoundCube directory:
    cd /var/websites/webmail/htdocs
    mv roundcube roundcube.old
  • Backup the Roundcube MySQL database:
    /usr/local/mysql/bin/mysqldump -u username -p roundcubemail > /extra/roundcubemail.sql
  • Download the new version, unstuff it and move it into your htdocs directory
  • Copy the old config files:
    cd /var/websites/mail/htdocs
    cp roundcube.old/config/db.inc.php roundcube/config/
    cp roundcube.old/config/main.inc.php roundcube/config/
  • Check roundcube/SQL/mysql.updates.sql and execute any updates from after your previous version of Roundcube

Recent Updates

  • 8 months 3 weeks ago
    1.27.2 update
  • 9 months 4 days ago
    Drupal 10/11 config
  • 9 months 6 days ago
  • PHP
    9 months 6 days ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 6 days ago
    New version of Pound