Continuous Integration (ii) environment Building-Intranet mail server Building

Source: Internet
Author: User
Tags email account

In our ongoing build, there is an error alert in the construction of the project. Or the communication between the developers, progress reporting of the transaction, is inseparable from a communication tool. That's The mail. It is certainly not the best option for us to assume the use of third-party mail platforms in our project development. Because the third-party mail needs to support the external network, but the external network is not particularly reliable, if there is a problem with the network link, so it will unnecessarily delay our duration. Or very many projects are confidential projects, in the development only can use the intranet.

But you don't have to mail it. To solve this headache, our intranet mail server tool appears, just to install it on our server. The account is configured properly. Configure the client, in the intranet can send arbitrary mail. Well, let's get to know this wonderful intranet mail Serverhmailserver today.


Server Setup
software Download

With the help of third-party software hmailserver can be very easy to build intranet mail server.

Official sites such as the following:http://www.hmailserver.com/

Installation of the software is required to provide support for Microsoft. NET Framework Version 2.0, Microsoft Official:

Familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en ">http://www.microsoft.com/downloads/ Details.aspx? Familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

Assuming the need to Chinese to download the corresponding Chinese package, but I in the process of Chinese, the text appears garbled. We also invite you to explore a lot. Share.

Software Installation


Installing the. NET Framework 2.0 First is simply not a descriptive narrative

hMailServer installation, here we choose to install completely, for example the following:

Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">

If there are not many users, I will use the built-in database engine directly, assuming that the user is more. The ability to select one of the following MySQL, MSSQL, PostgreSQL databases



It is necessary to set the password of the hMailServer management console, which should be recorded after Setup.


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">


Click Next. Complete the installation.


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">


When we connect to the Admin console, we need to enter the previous password


Chinese


Assuming that there is no need for Chinese to be able to skip this step directly.

hMailServer is easy to follow, in detail such as the following:

1. Copy the Chinese.ini file to the \languages under the hMailServer installation folder.

2. Edit the \bin\hmailserver.ini file and add "Chinese" to the Validlanguages entry in the [Guilanguages] field

3. After the change is over, remember to restart the service to make the language effective.


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">

4, enter the management interface. Select "Selectlanguage" in the Menu "File". Select "Chinese". Once again, the interface becomes Chinese, and so far our installation settings have been successful.


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">



Server Configuration


Below we formally enter the mail system related settings.

First join a domain, if you are a domain environment, it is best to fill in your domain name OK, I am here in the workgroup environment test


If you need to, you can change the limit. The space used by the domain, the maximum size of the message, the user's maximum space, the number of users, and so on, for example, there is only 60G space for the entire hard disk. 1G per user. Agree that the maximum message is 30M. It's too much pressure on the server, we can set it up for example by setting the limit



Then we want to create account for the user, enter username, password, save, remember here also to set a user space size not more than 1G to be able to save, due to the above we have done a limit.


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">


can also set a personalized signature for the user




Log Settings


After you enable the Smtp,pop3,imap log on the "Log" option on the server, there is a problem to generate logs on their own, come here we just have to choose to view the log, just select the view log to analyze the cause of the problem



Client Configuration

Mail client, we can use Foxmail or Outlook and so on, here I use Foxmail. Because Foxmail is green software.

Official: http://fox.foxmail.com.cn/

The installation is simpler and no longer speaks. , the Account Setup Wizard will appear the first time, enter the email account and password we just created



I am not a domain environment, there is no DNS related settings, so with the name is not resolved, here receive and send the server directly fill our server's IP address can be


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">

The old version of the foxmial default is no domain suffix, here we have to manually add it to


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">



Assuming there is no suffix for the domain, "next" we find an account setting test option, we detected that the following error is reported.


Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">


Settings are no problem after. Test will be able to pass all. This allows us to join the account set up successfully.




When the setting is successful, we'll test it. Send an email




Here, congratulations, the Intranet mail environment is completely built. You can now start sending e-mails in the intranet.


Continuous Integration (ii) environment Building-Intranet mail server Building

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.