Webmail

Aus Tutorials
Zur Navigation springen Zur Suche springen

Roundcube

Download

weget https://downloads.sourceforge.net/project/roundcubemail/roundcubemail/1.1.4/roundcubemail-1.1.4.tar.gz

Installation

Package installieren

sudo tar xzvf roundcubemail-*
sudo mv roundcubemail-1.1.4 /var/www/roundcube
sudo chown -R www-data:www-data /var/www/roundcube  

Folgende php-Skripte sind erforderlich (falls noch nicht installiert):

sudo apt-get install php5 php-pear php5-mysql php5-mcrypt php5-intl

Datenbank erstellen

mysql -u root -p
mysql> CREATE DATABASE roundcubemail; 
mysql> create user 'roundcube'@'%' identified by '<password>';
mysql> grant usage on *.* to 'roundcube'@'%' identified by '<password>'; 
mysql> grant all privileges on roundcubemail.* to 'roundcube'@'%';
mysql> flush privileges; 
mysql> quit;

Zertifikat erstellen

Siehe dazu SSL Zertifikat

Konfiguration

Apache

cd /etc/apache2/conf-available/
sudo touch roundcube.conf
Alias /roundcube "/var/www/roundcube/"
<Directory "/var/www/roundcube">
    Options +FollowSymLinks
    AllowOverride All

    <IfModule mod_dav.c>
      Dav off
    </IfModule>

    SetEnv HOME /var/www/roundcube
    SetEnv HTTP_HOME /var/www/roundcube
</Directory>
sudo a2enconf roundcube.conf
sudo service apache2 reload

config.inc.php

Konfigurationsdatei /var/www/roundcube/config/config.inc.php erstellen:

cd /var/www/roundcube/config/
sudo cp -p config.inc.php.sample config.inc.php

Links

https://roundcube.net/download/

http://trac.roundcube.net/wiki