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. Mail Service series-postifx + sasl + dovecot + virtual domain + virtual user + w
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.
Mail Service series postifx + sasl + dovecot + virtual domain + virtual user + webmail + webman comprehensive drill http://www.linuxidc.com/Linux/2013-05/84474.htm
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.
- # Apt-get install wget unzip apache2 php5 php5-mysql libmysqlclient15-dev mysql-server poppassd
Next, download and install RainLoop.
- # Mkdir/var/www/webmail
- # Cd/var/www/webmail
- # Wget http://repository.Rainloop.net/v1/Rainloop-1.6.3.706-e3c14e17bc4370a1561bcc68d1d494fd.zip
- # Unzip Rainloop-1.6.3.706-e3c14e17bc4370a1561bcc68d1d494fd.zip
- # Rm Rainloop-*. zip
Set necessary permissions.
- # Cd/var/www/webmail
- # Find.-type d-exec chmod 755 {}\;
- # Find.-type f-exec chmod 644 {}\;
- # 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.
- URL: http: // IP/webmail /? Admin
- User: admin
- 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.
- # Mysql-u root-p
- Mysqlcreate database rainloop;
- Mysqlexit;
Now this function can be enabled through the Management Panel> contacts page.
Next, use the 'test' button to check the settings.