# cd /usr/ports/mail/roundcube # make install clean
# mysql -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 47748 Server version: 5.5.14-log Source distribution Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> CREATE DATABASE roundcube /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; Query OK, 1 row affected (0.02 sec) mysql> GRANT ALL PRIVILEGES ON roundcube.* TO roundcube@localhost -> IDENTIFIED BY 'password'; Query OK, 0 rows affected (0.01 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.01 sec) musql> quit Bye # cd /usr/local/www/roundcube # mysql -p roundcube < SQL/mysql.initial.sql Enter password:
Create virtual host:
<VirtualHost *:80> ServerName mail.example.com ServerAdmin firstname.lastname@example.org DocumentRoot "/usr/local/www/roundcube" ErrorLog "/var/log/httpd-mail.example.com-error.log" CustomLog "/var/log/httpd-mail.example.com-access.log" combined </VirtualHost> <Directory "/usr/local/www/roundcube"> Options FollowSymLinks Indexes AllowOverride All Order Allow,Deny Allow from all </Directory>
Restart Apache and navigate to http://mail.example.com/installer/
Provide all the required information, save config files and delete installer directory.
Update: The latest Roundcube now ships with "larry" skin. This skin is perfect. You won't find a better one.
Some other skins are available as ports:
> find /usr/ports/mail -type d -name "roundcube-*" /usr/ports/mail/roundcube-air /usr/ports/mail/roundcube-groupvice /usr/ports/mail/roundcube-mobilecube /usr/ports/mail/roundcube-mvision2 /usr/ports/mail/roundcube-sieverules /usr/ports/mail/roundcube-umich