RainLoop webmail for DirectAdmin
Installation
-
SSH to your DirectAdmin server (with root).
-
Download RainLoop.
cd /var/www/html wget http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip
-
Extract downlaoded file.
unzip rainloop-community-latest.zip -d rainloop
-
Set permissions.
cd /var/www/html/rainloop find . -type d -exec chmod 755 {} ; find . -type f -exec chmod 644 {} ; chown -R webapps:webapps .
Configuration
-
Update DirectAdmin to use RainLoop.
nano /usr/local/directadmin/conf/directadmin.conf
set
webmail_link=rainloopservice directadmin restart cd /usr/local/directadmin/custombuild ./build set roundcube no ./build set squirrelmail no ./build rewrite_confs
-
Update RainLoop admin password. Go to http:// hostname.server.com/rainloop/?admin, the default username/password is admin/12345, login and change your password.
-
Configure login: click “Login” tab, enter your server’s hostname as the Default Domain and check “Try to determine user domain”.

-
Configure domains: click “Domains” tab, uncheck all domains and then click “Add domain” button.
-
This is for the Default Domain in step 3.

-
We need to add another wildcard domain.

-
Add RainLoop Alias pointing to /var/www/html:
cd /usr/local/directadmin/custombuild mkdir custom echo “rainloop=rainloop” >> custom/webapps.list ./build rewrite_confs
-
Done!
Note: – To protect your server, I recommend you enable reCaptcha for the RainLoop. – If you want to use contacts feature then select MySQL for the Storage.