RainLoop is a simple, modern and fast web based email client which can be used to access mails from any mail server like Dovecot and Postfix. It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching and spell checking.
Perquisites: LAMP Server , Mail Server
Note: – If you want to see the Installation of LAMP Server, click on below Link:
How to Install Apache ,Mysql ,PHP ( LAMP ) Server on Ubuntu 16.04
Note: – If you want to see the Installation & Configuration of Mail Server, click on below Link:
How to Install Mail Server on Ubuntu 16.04(Part 1) ( Dovecot – Postfix – Roundcube )
Note: – Make sure to install the required packages of PHP for Rainloop:
apt-get install php-curl php-xml php-mbstring php7.0-mbstring php-gettext -y
Note: – Please make sure to replace examplenet.xyz with your domain name.
Step 1. Login to Linux machine.
Step 2. Update packages.
# apt-get update
Step 3. Login Into your Mysql Server.
# mysql -u root -p
Step 4. Create a New Database for Rainloop.
mysql> Create database rainloopdb;
Step 5. Create a new User for Rainloop & specify the new Password for that user.
mysql> GRANT ALL PRIVILEGES ON rainloopdb.* TO ‘rainloop’@’localhost’ IDENTIFIED BY ‘rainpasswd’;
mysql> FLUSH PRIVILEGES;
Step 6. Exit from Mysql.
mysql> exit
Step 7. Move into your web server Document Root.
# cd /var/www/examplenet.xyz/
Step 8. Create a New Directory for Rainloop.
# mkdir rainloop
Step 9. Move to Rainloop Directory.
# cd rainloop
Step 10. Download Rainloop Webmail by using below link.
wget http://repository.rainloop.net/v1/rainloop-latest.zip
Step 11. Unzip rainloop-latest.zip.
# unzip rainloop-latest.zip
Step 12. Change the Owner & Group of rainloop directory.
# chown -R www-data:www-data /var/www/examplenet.xyz/rainloop
Step 13. Access Rainloop web interface by search below url through your browser.
http://YourServerIP//rainloop/?admin
Step 14. Open application.ini file from command line & Modify the below lines.
# vim /var/www/examplenet.xyz/rainloop/data/_data_/_default_/configs/application.ini
type = “mysql”
pdo_user = “rainloop
pdo_password = “rainpasswd”
Step 15. Create a new file of examplenet.xyz.ini & copy below smtp settings in that file.
# vim /var/www/examplenet.xyz/rainloop/data/_data_/_default_/domains/examplenet.xyz.ini
imap_port = 143
imap_secure = “None”
imap_short_login = Off
sieve_use = Off
sieve_allow_raw = Off
sieve_host = “”
sieve_port = 4190
sieve_secure = “None”
smtp_host = “examplenet.xyz”
smtp_port = 25
smtp_secure = “None”
smtp_short_login = Off
smtp_auth = On
smtp_php_mail = Off
white_list = “”
Step 16. Search http://examplenet.xyz/rainloop through your browser.
Step 17. Specify the Username & Password of Rainloop in Login Box.After that click on Login button.