Setup roundcube mail on CentOS

Requirement

Roundcube source

PHP

If install on CentOS 5: Install PHP 5.3 on CentOS 5

PEAR

yum install php-pear

pear channel-update pear.php.net

pear install MDB2
pear install Mail_MIME
pear install Net_SMTP
pear install Auth_SASL

Setup

Database

Create mysql database rcmail:

create database rcmail CHARACTER SET utf8 COLLATE utf8_general_ci;
grant all privileges on rcmail.* to 'rcmail'@'localhost' identified by 'rcmail';

Apache

Create apache config /etc/httpd/conf.d/rcmail.conf:

# for roundcube mail

Alias /rcmail/ /var/www/rcmail/

<Location /rcmail>
        AllowOverride Indexes
</Location>

Roundcube

tar zxvf rcmail-0.5.2.tar.gz
mv roundcubemail-0.5.2 /var/www/rcmail
cd /var/www/rcmail/
chown -R root:root .
chmod 777 temp logs

Open the web interface at http://hostname/rcmail/installer/index.php to continue.

tips/setup_roundcube_mail_on_centos.txt · Last modified: 2011-05-09 14:56 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0