Roundcube (Ubuntu 16.04)

Aus Tutorials
Zur Navigation springen Zur Suche springen

Download

Unter https://roundcube.net/download/ die neueste Version auswählen.#

wget https://github.com/roundcube/roundcubemail/releases/download/1.3.5/roundcubemail-1.3.5-complete.tar.gz

Installation

Die Installationsanleitung findet sich unter /var/www/roundcube/INSTALL.

Package installieren

tar xzvf roundcubemail-*
sudo mv roundcubemail-1.3.5 /var/www/roundcube
sudo chown -R www-data:www-data /var/www/roundcube  
sudo chmod -R g+w /var/www/roundcube/

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

sudo apt-get install -y php-curl php-xml php-gettext php-cgi \
php-mysql libcu rl3 libcurl3-dev php-mbstring php7.0-mbstring \
php-gettext php-pear php-ldap
sudo pear install Mail_Mime
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install Net_Sieve
sudo pear install Crypt_GPG

Für Net_IDNA2 gibt es noch keine stabile Version - muss mit Anhang beta runtergeladen werden

sudo pear install Net_IDNA2-beta

Composer

Installation

cd /var/www/roundcube
sudo -u www-data php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
sudo -u www-data php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo usermod -aG www-data martin
php composer-setup.php
sudo -u www-data php -r "unlink('composer-setup.php');"

composer.json

sudo -u www-data cp composer.json-dist composer.json
{
    "name": "roundcube/roundcubemail",
    "description": "The Roundcube Webmail suite",
    "license": "GPL-3.0+",
    "repositories": [
        {
            "type": "composer",
            "url": "https://plugins.roundcube.net/"
        },
        {
            "type": "vcs",
            "url": "https://git.kolab.org/diffusion/PNL/php-net_ldap.git"
        }
    ],
    "require": {
        "php": ">=5.4.0",
        "pear/pear-core-minimal": "~1.10.1",
        "pear/net_socket": "~1.2.1",
        "pear/auth_sasl": "~1.1.0",
        "pear/net_idna2": "~0.2.0",
        "pear/mail_mime": "~1.10.0",
        "pear/net_smtp": "~1.7.1",
        "pear/crypt_gpg": "~1.6.0",
        "pear/net_sieve": "~1.4.0",
        "roundcube/plugin-installer": "~0.1.6",
        "endroid/qr-code": "~1.6.5",
        "pear/net_ldap2": "~2.2.0",
        "kolab/Net_LDAP3": "dev-master"
    },
    "require-dev": {
        "phpunit/phpunit": "^4.8.36 || ^5.7.15"
    }
}

Pakete installieren

sudo -u www-data php composer.phar install --no-dev


Zurück zu Mailserver einrichten