##### Install Webmail - RainLoop
1. Create a directory for Roundcube
sudo apt-get install unzip php7.0 php7.0-dom php7.0-curl
sudo wget http://www.rainloop.net/repository/webmail/rainloop-community-latest.zip
sudo mkdir /var/www/rainloop
sudo unzip rainloop-community-latest.zip -d /var/www/rainloop
sudo chown -R www-data:www-data /var/www/rainloop
2. Create the Apache config below
sudo vi /etc/apache2/sites-enabled/rainloop.conf
Alias /webmail /var/www/rainloop
DirectoryIndex index.php
Options -Indexes +ExecCGI
AllowOverride All
Order deny,allow
Allow from all
Require all granted
Options -Indexes
Deny from all
Save and exit and restart apache2
3. Enable plain logins in Dovecot
sudo vi /etc/dovecot/conf.d/10-auth.conf
Add this line
auth_mechanisms = plain login
Save and restart Dovecot
sudo service dovecot restart
4. Restart Apache
sudo service apache2 restart
5. Browse to the URL:
http://YYY.afnog.nog-oc.org/webmail?admin
Username = admin
Password = 12345
Go to Part 2