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

HMailSever installation measurement

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

For a brief introduction to Hmaiserver, see Baidu encyclopedia "hmailserver". Http://baike.baidu.com/view/3992873.htm

For installation steps, see Baidu Library "HMailServer installation and configuration Guide".

Http://wenku.baidu.com/view/a473330e52ea551810a68768.html

Because the work needs to use a simple open source mail server program, and under the windows platform, looking around, found hmailserver.

I was going to choose the cracked version of Mdaemon, but how to put it under server2008, the process started, and I couldn't find the configuration interface anyway, so I had to give up.

The so-called cracked versions found by cmailserver on the Internet are all 5-user Demo versions, which are of little use.

Download the appropriate software and next all the way according to the configuration document.

Add the bobo365.com domain and set the user king@bobo365.com.

Web management:

Send a mail test after the foxmail client is set up.

Received successfully.

Hmailserver itself does not have webmail function and needs other software. The test uses squirrelmail. Some people also use AfterLogic on the Internet.

WebMail Lite, look at your hobbies.

Create the directory temp.

Create directories temp\ userpref, temp\ upload

Enter the directory d:\ hMail\ WebMail\ config

Change config_default.php to config.php

Configure the following items in the file:

(note: the global configuration can be modified in this file to replace the configuration information in config.php)

1. Organizational settings

# # #

Organization Preferences

1. Organization Name: SquirrelMail is modified according to the specific situation.

2. Organization Logo:.. / p_w_picpaths/sm_logo.png modify according to the specific situation

3. Org. Logo Width/Height: (308Compact 111)

4. Organization Title: SquirrelMail $version is modified according to the specific situation.

5. Signout Page: modify according to the specific situation

6. Default Language: change en_US to zh_CN

7. Top Frame: _ top

8. Provider link: http://www.squirrelmail.org/

9. Provider name: SquirrelMail

# # #

2. Server options

# # #

Server Settings

General

-

1. Domain: mydomain.com is changed to its own domain name

2. Invert Time: false

3. Sendmail or SMTP: SMTP suggests changing it to Sendmail.

A. Update IMAP Settings: change localhost:143 (cyrus) to (courier)

B. Update SMTP Settings: localhost:25

# # #

3. Global settings

# # #

General Options

1. Change Default Charset: iso-8859-1 to gb2312

2. Data Directory:.. / data/ is modified according to the specific situation.

3. Attachment Directory: $data_dir is best separated from the DATA directory

4. Directory Hash Level: 0 large users can be changed to 4

5. Default Left Size: 150

6. Usernames in Lowercase: change false to true

7. Allow use of priority: true

8. Hide SM attributions: change false to true

9. Allow use of receipts: true

10. Allow editing of identity: true/true

11. Allow server thread sort: false

12. Allow server-side sorting: false

13. Allow server charset search: change true to false

14. Enable UID support: true

15. PHP session name: SQMSESSID

# # #

4. Choose to save and exit after modification. Check the config/config.php file again, and if $data_dir is empty, fill in the correct value

. This is one of its BUG.

5. Confirm that the following items are set correctly

# # #

$domain = "localhost.local"; / / your hMailServer address

$smtpServerAddress = "localhost.local"; / / your hMailServer address

$imapServerAddress = "localhost.local"; / / your hMailServer address

$imap_server_type = "hmailserver"

$data_dir = "XX/XX/data/"; / / different from the path under the web directory

$p_w_upload_dir = "XX/XX//attach/"; / / different from the path under the web directory

Data_dir needs to have IUSR write permission.

# # #

After the above configuration is completed, you can enter URL to access it. The interface is very simple. After logging in, you can see the historical mail on hmail, but the default is E

Text, you also need to download the Chinese language pack, decompress it to the system path, and refresh the page to see the Chinese interface.

Webmail transceiver test:

Received successfully:

Postscript:

In the actual project use, it is found that the mail sent to some domains has been returned, showing "Helo command rejected: need fully-qualified hostname". The reason is that the domain name provided by the server in the HELO command cannot be resolved. The solution is to set it in SMTP and add a relay mailbox.

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