Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows server 2012R2 deployment installation hmail

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Windows server 2012R2 deployment installation hmail environment description:

System: windows server2012 R2

Software version: hMailServer-5.6.7-B2425.exe

Mail client: foxmail7.2 version

Encryption tool: hMailServer_SSL_0_9_8j.rar

HMailServer download address: https://www.hmailserver.org/download/file.php?id=360

HMailServer_SSL download address: https://www.hmailserver.org/download/file.php?id=72

one。 Installation process: the installation process is omitted here, and the default installation process can be used for database sql server II. The configuration information is as follows:

Where configuration is required:

1. Configure domain name

two。 Configure smtp compatibility

3. Configure the IP segment address

4. Create a test account

5. Send an email for testing

When using the created multi-user to send email, you can send and receive email normally. Note that when using foxmail as the client, the server address should be written to the IP address of the corresponding server.

three。 Configure SSL encryption to test 1. Install the plug-in

Install vcredist_x86.exe first, then install and then install Win32OpenSSL_Light-0_9_8j.exe, which is installed on disk C by default

two。 Configure the secret key

Open the location of the openssl bin directory and enter cmd

Openssl genrsa-out key.pem 2048openssl req-new-key key.pem-out request.csrCountry Name (2 letter code) [XX]: cn State or Province Name (full name) []: yunnanLocality Name (eg, city) [Default City]: kunmingOrganization Name (eg, company) [Default Company Ltd]: hmailserver.org Co., Ltd.Organizational Unit Name (eg, section) []: eggCommon Name (eg, your name or your server's hostname) []: (fill in the domain name) Email Address []: (your email) Please enter the following "extra" attributes to be sent with your certificate request a challenge password: (the challenge password here means that the "challenge password" request, as part of the CSR generation, is used to encrypt the secret key (at the time when the requested key is generated, or when a plaintext key is encrypted-and then each time you request a SSL-enabled service to start using it), are two separate and different things. (it's up to you. An optional company name []: here is the company name. Openssl x509-req-days 365-in request.csr-signkey key.pem-out certificate.pem3. The server configures the secret key

4. Configure the address segment with ssl

Note: Internet SSL is used here so that the verification function can also be used on the periphery.

Setting the 5.TCP/IP port

Note: if you do not set the private network in this step, the port should be set accordingly.

Smtp:25,pop3:110,imap:143,smtp:587 should choose STARTTLS (Optional) smtp:465,imap:993,pop3:995 and ssl/tls 6. Use the client to send mail tests.

After testing, the external network can send and receive email normally.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report