RainLoop webmail for DirectAdmin

Installation

  1. SSH to your DirectAdmin server (with root).
  2. Download RainLoop.
    cd /var/www/html
    wget http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip
  3. Extract downlaoded file.
    unzip rainloop-community-latest.zip -d rainloop
  4. Set permissions.
    cd /var/www/html/rainloop
    find . -type d -exec chmod 755 {} ;
    find . -type f -exec chmod 644 {} ;
    chown -R webapps:webapps .

Configuration

  1. Update DirectAdmin to use RainLoop.
    nano /usr/local/directadmin/conf/directadmin.conf

    set webmail_link=rainloop

    service directadmin restart
    cd /usr/local/directadmin/custombuild
    ./build set roundcube no
    ./build set squirrelmail no
    ./build rewrite_confs
  2. Update RainLoop admin password.
    Go to http://hostname.server.com/rainloop/?admin, the default username/password is admin/12345, login and change your password.
  3. Configure login: click “Login” tab, enter your server’s hostname as the Default Domain and check “Try to determine user domain”.
    RainLoop
  4. Configure domains: click “Domains” tab, uncheck all domains and then click “Add domain” button.
  5. This is for the Default Domain in step 3.
    RainLoop
  6. We need to add another wildcard domain.
    RainLoop add domain
  7. Add RainLoop Alias pointing to /var/www/html:
    cd /usr/local/directadmin/custombuild
    mkdir custom
    echo "rainloop=rainloop" >> custom/webapps.list
    ./build rewrite_confs
  8. 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.

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *