Roundcube

Материал из Webko Wiki
Версия от 21:10, 18 мая 2015; Sol (обсуждение | вклад) (Новая страница: «Roundcube is only a user interface to read and send mail; it requires a Web, SMTP and IMAP server in order to function fully. == Requirement == PHP PEAR yum i…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к навигации Перейти к поиску

Roundcube is only a user interface to read and send mail; it requires a Web, SMTP and IMAP server in order to function fully.

Requirement

PHP

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

MySQL PostgreSQL SQLite

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

wget https://downloads.sourceforge.net/project/roundcubemail/roundcubemail/1.0.5/roundcubemail-1.0.5.tar.gz

or new version

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

Edit php.ini

vim /etc/php.ini

The following should already exist; uncomment it and add UTC

date.timezone = UTC

You will have to restart Apache for it to read the new configuration

service httpd restart

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

Remove installation folder

rm -rf /var/www/html/roundcube/installer