How to set RainLoopWebmail in javastuserver

Source: Internet
Author: User
Tags rainloop
Webmail is undoubtedly an essential part of any email server. Although the local mail client generally has more functions than Webmail, it is sometimes tricky to access IMAP or SMTP from a trusted external network through an email client. Furthermore, when you need to tag UbuntuWebMail on a specific workstation or pen

Webmail is undoubtedly an essential part of any email server. Although the local mail client generally has more functions than Webmail, it is sometimes tricky to access IMAP or SMTP from a trusted external network through an email client. Furthermore, when you need to use an email client on a specific workstation, laptop, or mobile device, you can use the Webmail service wherever you access the Internet.

This tutorial focuses on installing and configuring RainLoop Webmail on an Apache Ubuntu Server. RainLoop is a PHP-based Webmail and has the following functions.

  • Supports apache, nginx, and other web servers.
  • The standard interface adds a primary question Library for selection.
  • Personal and non-profit projects are available for free.

At the time of writing this article, RainLoop does not support email filtering or automatic reply when you are not in the company.

Install RainLoop on Ubuntu Server

First, set necessary software packages on the server.

 
 
  1. # apt-get install wget unzip apache2 php5 php5-mysql libmysqlclient15-dev mysql-server poppassd  

Next, download and install RainLoop.

 
 
  1. # mkdir /var/www/webmail 
  2. # cd /var/www/webmail 
  3. # wget http://repository.Rainloop.net/v1/Rainloop-1.6.3.706-e3c14e17bc4370a1561bcc68d1d494fd.zip 
  4. # unzip Rainloop-1.6.3.706-e3c14e17bc4370a1561bcc68d1d494fd.zip 
  5. # rm Rainloop-*.zip  

Set necessary permissions.

 
 
  1. # cd /var/www/webmail 
  2. # find . -type d -exec chmod 755 {} \; 
  3. # find . -type f -exec chmod 644 {} \; 
  4. # chown –R www-data:www-data /var/www/webmail  

Now we can use RainLoop. At last, adjust it through the management panel. The details will be described later.

First configuration through the management panel

Many configuration parameters can be adjusted through a user-friendly management panel. Use the following creden。 to go to the management panel.

  1. URL: http: // IP/webmail /? Admin
  2. User: admin
  3. Pass: 12345

Of course, we recommend that you change the default password as soon as possible. We will use the management panel to adjust the settings.

Add email domain

On the management panel> domain> add domain page, set valid domains. We recommend that the server IP address be a local server, such as 127.0.0.1. Based on the server configuration, you can configure IMAP/IMAPS or SMTP/SMTPS for RainLoop. Also, check that the 'use short logon form' check box is selected.

Use the 'test connection' button to verify the settings.

Enable contact

The contact function must be supported by the database. We will use MySQL database to enable contacts. You can manually create a required database using RainLoop, as shown in the following figure.

 
 
  1. # mysql -u root -p   
  2. mysqlcreate database rainloop; 
  3. mysqlexit; 

Now this function can be enabled through the management panel> Contacts page.

Next, use the 'test' button to check the settings.

Start the password change plug-in

In most linux mail accounts, the mail server uses its own UID and GID as the actual user. Therefore, changing the passwords of these accounts is tricky in the past. Fortunately, today we have tools to do this. This tool is poppassd.

The first step is to install poppassd on the server, which can be completed with apt-get.

 
 
  1. # apt-get install poppassd  

Next, allow RainLoop to use poppassd, and install the RainLoop plug-in poppassd from the management panel> software package page.

Finally, the poppassd plug-in can be enabled from the management panel> plug-in page.

Now all the parameters have been set. you can log on from the creden。 they provide, as shown in.

  • URL: http: // IP/webmail
  • User: user @ domain
  • Pass: password

I hope this article will help you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.