How to install Rainloop Webmail 1.12.0 on Linuxmint-18.03

To install Rainloop Webmail 1.12.0 on Linuxmint-18.03
RainLoop is a fast and lightweight e-mail client software which supports protocols such as IMAP, SSL, SMTP, etc. RainLoop allows the user to login with multiple e-mail accounts even with different browser tabs. It can also be integrated with Google, Facebook, Twitter, Dropbox, etc.

Pre-requirements

Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)

FOR PHP INSTALLATION

apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
sudo apt-get update
apt-get install php7.0 libapache2-mod-php7.0 php7.0-common php7.0-sqlite php7.0-curl php7.0-intl php7.0-mbstring php7.0-xmlrpc php7.0-mysql php7.0-gd php7.0-xml php7.0-cli php7.0-zip

Download the Rainloop webmail package using wget command

linuxhelp ~ # wget https://www.rainloop.net/repository/webmail/rainloop-latest.zip
--2018-06-08 18:21:04--  https://www.rainloop.net/repository/webmail/rainloop-latest.zip
Resolving www.rainloop.net (www.rainloop.net)... 104.28.7.34, 104.28.6.34
Connecting to www.rainloop.net (www.rainloop.net)|104.28.7.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5939210 (5.7M) [application/zip]
Saving to: ‘ rainloop-latest.zip’ 

rainloop-latest.zip       100%[=====================================> ]   5.66M   888KB/s    in 7.7s    

2018-06-08 18:21:13 (749 KB/s) - ‘ rainloop-latest.zip’  saved [5939210/5939210]

Extract the downloaded file

linuxhelp ~ # unzip rainloop-latest.zip -d rainloop
Archive:  rainloop-latest.zip
   creating: rainloop/data/
  inflating: rainloop/index.php      
   creating: rainloop/rainloop/
   creating: rainloop/rainloop/v/
  inflating: rainloop/data/EMPTY     
  inflating: rainloop/data/VERSION   
   creating: rainloop/rainloop/v/1.12.0/
   creating: rainloop/rainloop/v/1.12.0/app/
.
.
.
inflating: rainloop/rainloop/v/1.12.0/app/libraries/SabreForRainLoop/DAV/Browser/assets/icons/calendar.png  
  inflating: rainloop/rainloop/v/1.12.0/app/libraries/SabreForRainLoop/DAV/Browser/assets/icons/card.png  
  inflating: rainloop/rainloop/v/1.12.0/app/libraries/SabreForRainLoop/DAV/Browser/assets/icons/collection.png  
  inflating: rainloop/rainloop/v/1.12.0/app/libraries/SabreForRainLoop/DAV/Browser/assets/icons/file.png  
  inflating: rainloop/rainloop/v/1.12.0/app/libraries/SabreForRainLoop/DAV/Browser/assets/icons/parent.png  
  inflating: rainloop/rainloop/v/1.12.0/app/libraries/SabreForRainLoop/DAV/Browser/assets/icons/principal.png

Change ownership and permission for the rain loop directory

linuxhelp ~ # ls
rainloop  rainloop-latest.zip
linuxhelp ~ # chown -R www-data:www-data rainloop   chmod -R 775 rainloop

Move the rainloop directory into the /var/www/html directory

linuxhelp ~ # mv rainloop /var/www/html/

Configure virtual host for rainloop Webmail. Create empty file named rainloop.conf

linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim rainloop.conf
< virtualhost *:80> 
servername  www.linuxhelp1.com
Documentroot  /var/www/html/rainloop/
< Directory /var/www/html/rainloop/> 
AllowOverride all
order allow,deny
allow from all
< /Directory> 
< /virtualhost> 
Errorlog  /var/log/linuxhelp_error
Customlog /var/log/linuxhelp_access common

Enable the rainloop.conf file

linuxhelp sites-available # a2ensite rainloop.conf 
Enabling site rainloop.
To activate the new configuration, you need to run
  service apache2 reload

Enable the rewrite module

linuxhelp sites-available # a2enmod rewrite 
Enabling module rewrite.
To activate the new configuration, you need to run
  service apache2 restart

Make an entry to the hosts file as follows

linuxhelp sites-available # vim /etc/hosts
< give your ip >      < give your domain name> 

Restart apache web server

linuxhelp sites-available # systemctl restart apache2.service

After restarting the apache server, open the browser and enter the local ip or domain name

Login page of rainloop webmail

Admin page of rainloop webmail

With this, the method to install Rainloop Webmail 1.12.0 on Linuxmint-18.03 comes to an end.

FAQ
Q
Is roundcube POP or IMAP?
A
For sending emails, Roundcube uses the SMTP protocol to submit a composed message via the "outgoing mail server". Similar to the IMAP connection, configuring the SMTP server is part of a minimal Roundcube setup.
Q
What is a webmail client?
A
From Wikipedia, the free encyclopedia. Webmail (or web-based email) is any email client implemented as a web application running on a web server. Examples of webmail software are Roundcube and SquirrelMail. Examples of webmail providers are AOL Mail, Gmail, Outlook.com/Hotmail.com, Rackspace Email and Yahoo! Mail.
Q
How to Download the Rainloop webmail package?
A
Run the following link:
# wget https://www.rainloop.net/repository/webmail/rainloop-latest.zip
Q
What is Rainloop Webmail?
A
RainLoop is a fast and lightweight e-mail client software which supports protocols such as IMAP, SSL, SMTP, etc. RainLoop allows the user to login with multiple e-mail accounts even with different browser tabs.
Q
What are the Pre-requirements in Webmail 1.12.0?
A
requirements are,
Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)