RainLoop webmail

• Extract files from RainLoop Webmail archive and upload those to server.

• Set correct permissions for files and directories.

• Configure web server to prevent accessing configuration files via web browser.



Download the package, extract files from it and upload it to a directory intended for use by the application, for example, /var/www/rainloop, subsequent examples assume you're using that directory, supply your actual directory path if you use a different one.

mkdir /var/www/rainloop
unzip rainloop-latest.zip -d /var/www/rainloop

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 | php

or

wget -qO- https://repository.rainloop.net/installer.php | php

Upon uploading the package content, be sure to configure permissions for files and directories.

This is all you have to do in order to ensure running the application with its default configuration.

The product will create all the required files on first run, and it will report an error if any requirement is not met.





All configuration files of the application, as well as temporary ones (attachments, logs, etc.) are stored in data directory, so it's important to make sure that users cannot access that directory over the Internet directly.

Application uses .htaccess for basic protection but it might not work if you're using a web server other than Apache, and even Apache can be configured to disregard .htaccess files.

If you're using nginx, add the following to your domain configuration file:

location ^~ /data {
deny all;
}

If you're using hiawatha, add the following to your configuration file:

Directory {
Path = /var/www/rainloop/data
AccessList = deny all
}