Differences between revisions 2 and 3
Revision 2 as of 2020-03-19 23:28:11
Size: 1390
Comment:
Revision 3 as of 2021-11-18 08:40:51
Size: 1430
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from RainLoopSetup

RainLoop

!RainLoop is a webmail client.


Installation

Fetch the latest version of the (A)GPL-licensed software package.

wget https://www.rainloop.net/repository/webmail/rainloop-community-latest.zip

Create an installation directory that can be owned by the web server's user (typically www-data).

mkdir /var/www/rainloop
unzip rainloop-community-latest.zip -d /var/www/rainloop
chown www-data:www-data /var/www/rainloop -R
chmod 775 /var/www/rainloop -R

The web service will be capable of self-updating.


Configuration

Web Server

NGINX can be configured to serve !RainLoop easily... as long as you've already configured FastCGI.

server {
  listen 80;
  server_name mail.my-domain.tld;
  root /var/www/rainloop;

  location / {
    index index.html index.htm index.php;
    autoindex on;
    autoindex_exact_size off;
    autoindex_localtime on;
  }
  location ~ \.php$ {
    include fastcgi.conf;
    fastcgi_index index.php;
    fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
  }
}

It is also important to block user access to the data directory.

location ^~ /data {
  deny all;
}


User Login


CategoryRicottone

PHP/RainLoop (last edited 2023-04-22 20:29:15 by DominicRicottone)