# Solved: Rainloop: How to access their Admin Panel?

**URL:** <https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305>\
**Category:** Help with Setup/Upgrade\
**Created:** [July 5, 2017, 12:13pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305 "2017-07-05T12:13:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 5, 2017, 12:13pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/1 "2017-07-05T12:13:01Z")

</div>

Continuing the discussion from [Solved: Mobile Responsive version of Roundcube?](https://discourse.mailinabox.email/t/solved-mobile-responsive-version-of-roundcube/2287):

I installed Rainloop on my miab mail server, but I can’t figure out how access the Rainloop admin panel.  
very confusing…

**Rainloop Installation Instructions**  
You can also deploy the latest version of the application without a need to deal with zip archive, just run one of the following commands in your terminal:

- curl -sL [https://repository.rainloop.net/installer.php](https://repository.rainloop.net/installer.php) | php
- wget -qO- [https://repository.rainloop.net/installer.php](https://repository.rainloop.net/installer.php) | php

To access admin panel, use URL of the following kind: http://product\_installation\_URL/?admin  
For example: [http://webmail.domain.com/?admin](http://webmail.domain.com/?admin)  
Default login is “admin”, password is “12345”.

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 5, 2017, 12:14pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/2 "2017-07-05T12:14:45Z")

</div>

I just found this earlier post, so I will try it now.

> [@Rainloop web-based e-mail client](https://discourse.mailinabox.email/t/rainloop-web-based-e-mail-client/1635):
>
> I’ve read about Rainloop (another web-based e-mail client, [link](http://www.rainloop.net/)) before, but it was shot down because it wasn’t available for commercial parties that are using MAIB. It is however a very good webmail e-mail client, not as visually bulky as Roundcube. I saw that the basic version is available under the AGPLv3 license, which allows for commercial or non-personal use. So maybe it could be an alternative for Roundcube?

> Go to the Owncloud admin page, there is a new option called Rainloop webmail.  
> Enable Automatically login with ownCloud user credentials  
> Login into the rainloop admin panel with the user admin and pass 12345  
> Add your e-mail domains and settings to your liking (change the admin login and password!)  
> Don’t forget to enable the Carddav server to be able to use your e-mail address book. The settings are done in the users own settings page.  
> You can now login with your username password at the normal Email app in Owncloud. You might happen to login/logout in owncloud to enable the ‘login with owncloud user credentials’.

---

<div class="post-metadata">

**Author:** ![Locker](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/locker/32/584_2.png) [@Locker](https://discourse.mailinabox.email/u/Locker)\
**Post date:** [July 6, 2017, 1:18pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/3 "2017-07-06T13:18:41Z")

</div>

I installed Rainloop in /usr/local/lib/rainloop, then followed this changelog to modify /etc/nginx/conf.d/local/conf:

> <https://github.com/mail-in-a-box/mailinabox/pull/883/files>

After that, the URL would be https:/EXAMPLE.COM/mail/?admin

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 6, 2017, 1:31pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/4 "2017-07-06T13:31:25Z")

</div>

Interesting.

Why not use the subdomain? [https://box.example.com/mail/?admin](https://box.example.com/mail/?admin)

---

<div class="post-metadata">

**Author:** ![Locker](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/locker/32/584_2.png) [@Locker](https://discourse.mailinabox.email/u/Locker)\
**Post date:** [July 7, 2017, 1:57am UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/5 "2017-07-07T01:57:50Z")

</div>

Sorry, I don’t use subdomains for MiaB, so that isn’t part of the equation for me.

So if you use the default settings, it’d be [https://box.example.com/mail/?admin](https://box.example.com/mail/?admin) just as you stated.

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 8, 2017, 6:28pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/6 "2017-07-08T18:28:28Z")

</div>

**updated steps as of 12 July 2017**

**Step 1: The Setup for /rainloop/v/1.10.5.192/**  
cd /usr/local/lib/  
curl -sL [https://repository.rainloop.net/installer.php](https://repository.rainloop.net/installer.php) | php

**Step 2: Permissions**  
find . -type d -exec chmod 755 {} ;  
find . -type f -exec chmod 644 {} ;  
chown -R www-data:www-data .

**Step 3: Update 3 Files** (I use MobaXterm)  
1.) conf/nginx-alldomains.conf (see **nano /etc/nginx/conf.d/local.conf)**  
2.) setup/webmail.sh (or **nano /root/mailinabox/setup/webmail.sh** )  
3.) tools/rainloop-unlockadmin.sh (create this file from scratch **nano /root/mailinabox/tools/rainloop-unlockadmin.sh)**

Add the following for each of the three files:

For **conf/nginx-alldomains.conf** - #1 of 3  
nano /etc/nginx/conf.d/local.conf  
comment out the Roundcube entry with #'s  
copy and paste the following into the file

> # Rainloop Webmail configuration.
> 
> rewrite ^/mail$ /mail/ redirect;  
> rewrite ^/mail/$ /mail/index.php;  
> location /mail/ {  
> index index.php;  
> alias /usr/local/lib/rainloop/;  
> }  
> location ~ /mail/data/.\* {  
> deny all;  
> }  
> location ~ /mail/._.php {  
> # note: ~ has precendence over a regular location block  
> include fastcgi\_params;  
> fastcgi\_split\_path\_info ^/mail(/._)()$;  
> fastcgi\_index index.php;  
> fastcgi\_param SCRIPT\_FILENAME /usr/local/lib/rainloop/$fastcgi\_script\_name;  
> fastcgi\_pass php-fpm;

> ```
> # Outgoing mail also goes through this endpoint, so increase the maximum
> # file upload limit to match the corresponding Postfix limit.
> client_max_body_size 128M;
> 
> ```
> 
> }

**For setup/webmail.sh** - #2 of 3  
delete the entire contents of the file: **rm -r /root/mailinabox/setup/webmail.sh**  
create a new file: **nano /root/mailinabox/setup/webmail.sh**  
Get the new contents from [Replace Roundcube with Rainloop by jvolkenant · Pull Request #883 · mail-in-a-box/mailinabox · GitHub](https://github.com/mail-in-a-box/mailinabox/pull/883/files?diff=split#diff-10e8fa8a4156d9cca4e08e3ba75adfd6)  
Control + F to find webmail.sh  
Click the View button  
Click the Raw button  
Click Control + A to select all  
Click Control + C to copy the text  
Paste the contents into your new file  
Save

**For tools/rainloop-unlockadmin.sh** - #3 of 3  
create a new file: **nano /root/mailinabox/tools/rainloop-unlockadmin.sh**  
get the contents for this new file from [Replace Roundcube with Rainloop by jvolkenant · Pull Request #883 · mail-in-a-box/mailinabox · GitHub](https://github.com/mail-in-a-box/mailinabox/pull/883/files?diff=split#diff-10e8fa8a4156d9cca4e08e3ba75adfd6)  
Control + F to find “tools/rainloop-unlockadmin.sh”  
Click the View button  
Click the Raw button  
Click Control + A to select all  
Control + C for copy  
Save the file

Further References:  
[http://xmodulo.com/rainloop-webmail-ubuntu-server.html](http://xmodulo.com/rainloop-webmail-ubuntu-server.html)

> **[Installing the RainLoop Email Client on Ajenti V | DigitalOcean](https://www.digitalocean.com/community/tutorials/installing-the-rainloop-email-client-on-ajenti-v)**
>
> RainLoop is a free email client that can access any IMAP/SMTP emails, including Ajenti V’s built-in email. It supports multiple accounts, social logins (log …

---

<div class="post-metadata">

**Author:** ![pxl](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/pxl/32/461_2.png) [@pxl](https://discourse.mailinabox.email/u/pxl)\
**Post date:** [July 8, 2017, 10:59pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/7 "2017-07-08T22:59:24Z")

</div>

just a thought from me,

you know modifications are generally not supported by Mail-in-a-Box. If you are a advanced user and you want to run more applications on your server, you could try [yunohost](https://yunohost.org/#/). It is a tool to make self hosting easy. It includes a mail server, rainloop, roundcube, nextcloud and [much more](https://yunohost.org/#/apps). It could save you a lot of trouble.

i hope it is ok to post about other projects here 🙂

---

<div class="post-metadata">

**Author:** ![Locker](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/locker/32/584_2.png) [@Locker](https://discourse.mailinabox.email/u/Locker)\
**Post date:** [July 9, 2017, 2:10am UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/8 "2017-07-09T02:10:15Z")

</div>

It looks my above link got mangled a bit. Read on for my steps…

My Step 2 looks more like:  
2a) Upload rainloop-latest.zip to /tmp  
2b) mkdir /usr/local/lib/rainloop  
2c) unzip rainloop-latest.zip -d /usr/local/lib/rainloop  
2d) find /usr/local/lib/rainloop -type d -exec chmod 755 {} ;  
2e) find /usr/local/lib/rainloop -type f -exec chmod 644 {} ;  
2f) Edit /etc/nginx/conf.d/local.conf according to these correct instructions. Be sure to click the topmost link that ends with /files

> <https://github.com/mail-in-a-box/mailinabox/pull/883/files>

Then restart nginx. Note that this is an unsupported modification and it’ll break the next time you upgrade MIAB.

---

<div class="post-metadata">

**Author:** ![dofl](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/d/49beb7/32.png) [@dofl](https://discourse.mailinabox.email/u/dofl)\
**Post date:** [July 9, 2017, 6:12am UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/9 "2017-07-09T06:12:20Z")

</div>

I’m the author of the original post on how to install Rainloop. I’ve been using Rainloop since november last year, and I have never gone back to Roundcube. Contacts, filters, multiple accounts, themes and most importantly for me: it’s a local proxy for external images.

I thought about installing it outside of the MiaB environment as you are doing now, but for compatibility it’s better to keep it in Nextcloud. I must say that having e-mail, calendar, contacts and a possibility for file sharing in a single environment is an advantage for the easy of use of MiaB by other users. Also this doesn’t break after an update.

I haven’t tested the performance penalty for being a plugin to Nextcloud, but the speed is excellent so far on a simple 1 core server with 1GB RAM and SSD storage.

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 10, 2017, 11:18am UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/10 "2017-07-10T11:18:02Z")

</div>

@dofl I don’t know what Nextcloud is but it looks like a paid service? Are you saying I should only use Rainloop if I have Nextcloud?

> **_Edit /etc/nginx/conf.d/local.conf according to these correct instructions. Be sure to click the topmost link that ends with /files_**

@Locker, I don’t understand what this sentence means. I see conversations but no clear instructions such as the steps you outlined above.

Rainloop does not help much in terms of the setup:

> **[Documentation / Installation / RainLoop Webmail](https://www.rainloop.net/docs/installation/)**
>
> RainLoop Webmail - Simple, modern & fast web-based email client.

nano /etc/nginx/conf.d/local.conf

I see a Roundcube webmail configuration under [box.example.com](http://box.example.com)

Am I supposed to create a Rainloop webmail configuration under [box.example.com](http://box.example.com), too?

---

<div class="post-metadata">

**Author:** ![Locker](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/locker/32/584_2.png) [@Locker](https://discourse.mailinabox.email/u/Locker)\
**Post date:** [July 10, 2017, 1:14pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/11 "2017-07-10T13:14:57Z")

</div>

A better and easier solution would be to host your Rainloop webmail on standard hosting as a subdomain such as [webmail.example.com](http://webmail.example.com).

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 10, 2017, 1:18pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/12 "2017-07-10T13:18:46Z")

</div>

I am not sure I understand what that means. I thought that was what we were doing? If not, what would the steps be for what you are proposing, once I have uploaded Rainloop?

I am using a subdomain; i.e., [box.example.com](http://box.example.com)

My miab server is specifically used for [box.example.com](http://box.example.com)

---

<div class="post-metadata">

**Author:** ![Locker](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/locker/32/584_2.png) [@Locker](https://discourse.mailinabox.email/u/Locker)\
**Post date:** [July 10, 2017, 3:40pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/13 "2017-07-10T15:40:22Z")

</div>

Host Rainloop on another server. Altering your MIAB configuration is unsupported and requires an admin to dig into the system to get it working right. By putting Rainloop on a web server rather than your mail server, it greatly simplifies the installation and maintenance process.

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 10, 2017, 4:01pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/14 "2017-07-10T16:01:48Z")

</div>

Really? That seems pretty complicated to me.

I would then have three servers. One for my website, one for emails, and one for Rainloop.

It also seems like a lot of extra work just to run Rainloop.

---

<div class="post-metadata">

**Author:** ![Locker](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/locker/32/584_2.png) [@Locker](https://discourse.mailinabox.email/u/Locker)\
**Post date:** [July 10, 2017, 5:26pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/15 "2017-07-10T17:26:09Z")

</div>

If you already have a server for your website, go there and add a second site configured as a webmail subdomain.

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 12, 2017, 12:32pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/16 "2017-07-12T12:32:29Z")

</div>

@Locker Sure.

But can you please tell me how to install Rainloop on my MIAB?

---

<div class="post-metadata">

**Author:** ![Locker](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/locker/32/584_2.png) [@Locker](https://discourse.mailinabox.email/u/Locker)\
**Post date:** [July 12, 2017, 2:41pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/17 "2017-07-12T14:41:43Z")

</div>

This thread already outlines two approaches to installing Rainloop on your MIAB server and one approach for installing Rainloop elsewhere. That’s the best we can do for you.

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 12, 2017, 3:31pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/18 "2017-07-12T15:31:44Z")

</div>

The thread mentions that it is possible to install Rainloop and provides a few steps for the installation.

It doesn’t actually outline all of the steps.

I will email [support@rainloop.net](mailto:support@rainloop.net)

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 12, 2017, 4:19pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/19 "2017-07-12T16:19:14Z")

</div>

> [@Locker](#):
>
> After that, the URL would be https:/EXAMPLE.COM/mail/?admin

This just takes me to Roundcube

---

<div class="post-metadata">

**Author:** ![assistance\_pls](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@assistance\_pls](https://discourse.mailinabox.email/u/assistance_pls)\
**Post date:** [July 12, 2017, 6:45pm UTC](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305/20 "2017-07-12T18:45:11Z")

</div>

webmail.sh shows

VERSION=v1.10.5.192  
VERSION\_FILENAME="rainloop-community-1.10.5.192-74dc686dd82d9f29b0fef8ceb11c2903.zip"  
HASH=ee1b9cd4c2494aaecf7d291500aee9b455bbee58  
UPDATE\_KEY=$VERSION

but [https://github.com/RainLoop/rainloop-webmail](https://github.com/RainLoop/rainloop-webmail)  
is on version 1.11.1

[Next page](https://discourse.mailinabox.email/t/solved-rainloop-how-to-access-their-admin-panel/2305.md?page=2)
