Rainloop est un client webmail libre, simple et rapide. Il peut se connecter à différents services de messagerie et utilise un cache pour améliorer les performances. Son installation est accessible et son interface convient à de nombreux comptes.
Prérequis
- Un serveur Ubuntu 18.04.
- Une adresse IP statique configurée.
- Un compte non-root avec droits sudo.
Préparer le système
sudo apt-get update -y
sudo apt-get upgrade -y
Redémarrez pour appliquer les mises à jour.
Installer Apache, MariaDB et PHP
sudo apt-get install apache2 mariadb-server curl php7.2 php7.2-mysql php7.2-curl php7.2-json php7.2-cgi libapache2-mod-php7.2 php7.2-xmlrpc php7.2-gd php7.2-mbstring php7.2-common php7.2-soap php7.2-xml php7.2-intl php7.2-cli php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-tidy php7.2-sqlite3 -y
sudo systemctl start apache2
sudo systemctl enable apache2
sudo systemctl start mariadb
sudo systemctl enable mariadb
Installer Rainloop
sudo mkdir /var/www/html/rainloop
cd /var/www/html/rainloop
sudo curl -s -o installer.php https://repository.rainloop.net/installer.php
sudo php installer.php
sudo chown -R www-data:www-data /var/www/html/rainloop
sudo chmod -R 755 /var/www/html/rainloop
Configurer Apache
sudo nano /etc/apache2/sites-available/rainloop.conf
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/rainloop/
ServerName example.com
ServerAlias www.example.com
<Directory /var/www/html/rainloop/>
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
sudo a2dissite 000-default.conf
sudo a2ensite rainloop.conf
sudo a2enmod rewrite
sudo systemctl restart apache2
Accéder à Rainloop
Ouvrez https://votre-ip/?admin. Connectez-vous avec les identifiants par défaut admin / 12345, puis modifiez-les immédiatement.