hmailserver는 원도우에서 사용 설치가능한 메일서버로써...

stmp, pop3, imap4를 지원한다.

알아두어야할 사항은 smtp auth기능, relay기능, 다중도메인, 스팸기능, 각종 룰기능등

기본기능이 많다는 것이다..

일딴 깔아서 써보자..



1.DNS셋업이 정확히 되어 있어야 한다.

   예를 들어 도메인을 설정한다고 메일서버는 mail.example.com이라고 가정하자.

   우선 A레코드로 mail.example.com을 설정하고 MX레코드를 작성해야한다.


2.프로그램 다운로드 

   다운로드에 여러가지가 있으나 일단 hMailServer 5.1.2 - Build 346 이것만 다운받자


2.프로그램 설치

   별다른 설정없이 시키는데로 하면된다.(일단 데이타베이스는 기본으로 제공되는걸 사용하자.)



   1) hmailserver administrator 를 실행시켜서 domains를 클릭하고 add를 클릭하여 신규도메인입력

   2) 트리에 accounts 에서 사용자를 생성한다.

   3) settings -> protocols -> smtp에서 delivery of e-mail 탭에서 local host name에 메일서버 도메인명을

       입력한다. 으로 입력한다.

       smtp relayer에는 어떤정보도 필요없다. 비워라..

    4) settings -> advanced -> ip ranges에서  메일 인증이나 릴레이등의 설정을 한다.

        기본적으로 사용해도 무방은 하다.. 공짜 치고는 정말 잘만들어져 있다.

    기타 설정은 옵션이다. ...일단..마이크로소프트 아웃룩 익스프레스를 사용시는

  메일아이입력란에.. test@example.com으로 Full 네임으로 아이디를 입력해야된다.

  다중도메인을 지원시 문제 때문인것 같다.. 그리고 반드시 보내는 메일서버에서 [인증필요]를 클릭하고

  [받는 메일서버와 동일한 설정 사용]을 클릭해라.. 이설정은 smtp auth기능이 ip ranges에서 확인할수

  있듯이 이미 설정이 되어 있어서 그런것 같다.


이상 깔아서 사용한지 1시간도 안되서 잘모르겠다.. 더 사용해보고..다른 메일서버와 비교를 해봐야겠다..

어쩌든 공짜다...쉽다..




<< 영문설정메뉴얼 >>


This page describes the basics of configuring hMailServer. It does not include information on how to set up virus scanners or spam protection. If you are unsure about how hMailServer works, you should read this page before configuring the server.

Connecting to hMailServer

  1. From the Start menu, select hMailServer Administrator
    Now the hMailServer Administrator - Connect dialog is opened. This dialog allows you to connect to different hMailServer services.
  2. Double-click on the "localhost" host name to connect to the hMailServer instance running on localhost.
  3. In the password dialog, specify the password you specified during the installation of hMailServer - the main hMailServer administration password, and then click OK
  4. Now hMailServer Administrator is started.

Domains & Accounts

Every hMailServer domain should be connected to an internet domain. Say that you're the owner of the domain, then you should add as a domain in hMailAdmin:

  1. Start hMailAdmin.
  2. Click Add domain.
  3. Enter as domain name.
  4. Click Save

The next step is to add accounts to your server. The normal setup is to have one account per email address you want to be able to send and receive email from. If you want the addresses and, simply add this to hMailAdmin:

  1. Start hMailAdmin
  2. Expand the Domains node in the tree to the left
  3. Click on the domain
  4. Click Add account
  5. Enter webmaster as the account address, set the password and click Save
  6. Click on the domain in the tree to the left
  7. Click Add account
  8. Enter info as the account address, set the password and click Save

Specifying public host name

For an email server to work properly, it needs to know its public name on the Internet. This is normally something like Since there is no good way for software to automatically detect the public host name of the computer where it is running, you need to tell hMailServer what public hostname to use. While it's possible to run hMailServer without telling it its public hostname, some email servers will reject email from you if you don't specify it.

  1. Start hMailAdmin
  2. In the tree to the left, go to Settings -> Protocols -> SMTP
  3. To the right, the SMTP settings are now shown. Click on the Delivery of e-mail tab.
  4. Under host name, enter the public hostname of the computer where hMailServer is running.
  5. Save the change

Specifying SMTP relayer

Some internet service providers (the people that offer you the internet connection) block outgoing traffic on port 25. Since outgoing traffic on port 25 is required for email to work properly, you either need to convince your ISP to open up port 25 for you (if it's not open), or you need to configure hMailServer to forward all email through your ISP's email server.
To determine whether port 25 is blocked, try typing telnet 25 on your command line. If you can connect, port 25 is not blocked; if you can't, port 25 is blocked.
If you configure your ISP's email server as SMTP relayer, hMailServer will deliver all outgoing email to your ISP's email server, which in turn will deliver it to the correct destination. Since it's almost always possible to send email through your ISP's email server, this is a workaround if port 25 is blocked.

  1. Start hMailAdmin
  2. In the tree to the left, go to Settings -> Protocols -> SMTP
  3. To the right, the SMTP settings are now shown. Click on the Delivery of e-mail tab.
  4. In the SMTP Relayer field, enter the host name of your ISP's email server, along with your credentials on that server in case it demands authentication.
  5. Save your changes

Please note that you should never specify localhost,, or your own hostname as the SMTP Relayer, since that would mean that hMailServer would try to forward messages to itself. That would result in an infinite loop. Also, you should leave this field empty if your ISP is not blocking port 25.

Configuring IP ranges

IP ranges are used in hMailServer to specify who should be allowed to send email through your server. For example, you can use the IP ranges to configure hMailServer such that only computers in your local network are allowed to use the server to send email. By default, hMailServer comes with 2 different IP ranges. These default IP ranges should be sufficient for almost all users. Unless you're using old email clients with a lack of features, you should never have to modify these. Do not modify them unless you are absolutely sure what you want to achieve using IP ranges, and how to achieve it.


In most cases where users report problems with hMailServer installation and configuration, the problem is not in the hMailServer set-up but with network settings, firewalls, DNS configuration and other external software. This tutorial covers only hMailServer set-up so it is strongly recommended that you read the troubleshooting section in case you run into problem.