You are on page 1of 2

Roundcube Installation

Reference: http://opensourceheaven.net/?page_id=122

cd /tmp
# Download Roundcube from http://roundcube.net/?p=downloads

wget http://jaist.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-
0.1beta2.2.tar.gz

cd /var/www
mkdir ajaxmail.yourdomainname.com

tar zxvf roundcubemail-0.1beta2.1.tar.gz

mv roundcubemail-0.1beta2 /var/www/ajaxmail.yourdomainname.com

cd /var/www/ajaxmail.yourdomainname.com

chmod 777 logs/


chmod 777 temp/

cd /var/www/ajaxmail.yourdomainname.com/config

mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php

mysql -u root -p
create database roundcubemail;
GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY
'yourpassword' WITH GRANT OPTION;

quit;

cd /var/www/ajaxmail.yourdomainname.com/SQL

mysql -u root -p roundcubemail < mysql.initial.sql

cd /var/www/ajaxmail.yourdomainname.com/config

vi db.inc.php

# On the line starting $rcmail_config, change pass to the password you specified
earlier.

$rcmail_config[�db_dsnw�] = �mysql://roundcube:pass@localhost/�

vi main.inc.php
# Ensure the following setting are correct
$rcmail_config[�default_host�] = �localhost�;
$rcmail_config[�mail_domain�] = �yourdomain.com�;
$rcmail_config[�enable_caching�] = FALSE;

# if you relay mail through your ISP, you will need to specify a username and
password here.
$rcmail_config[�smtp_server�] = �mail.yourisp.com�;
$rcmail_config[�smtp_user�] = �your_username�;
$rcmail_config[�smtp_pass�] = �your_password�;
#Additional Setting as per your needs
$rcmail_config['useragent'] = 'RoundCube Webmail/0.1b';
$rcmail_config['product_name'] = 'RoundCube Webmail';
$rcmail_config['junk_mbox'] = 'Spam';
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent',
'Trash');
$rcmail_config['timezone'] = 5.5;
$rcmail_config['dst_active'] = FALSE;

$rcmail_config['skip_deleted'] = TRUE;
$rcmail_config['read_when_deleted'] = FALSE;
$rcmail_config['include_host_config'] = TRUE;

# Web Interface Customisation


# Replace the following files as per your needs
/var/www/yourdomain.com/skins/default/images/favicon.ico
/var/www/yourdomain.com/skins/default/images/roundcube_logo.png
/var/www/yourdomain.com/skins/default/images/roundcube_logo_print.gif

You might also like