HMailServer is an electronic mail server opensource supporting protocols POP3, IMAP and SMTP. Moreover, it support also virtual fields, anti-spams and anti-virus, black lists… It works with a data base (MySQL or Microsoft SQL), for the malls like certain data related to its configuration. Nevertheless, it is not necessary to install a database server, since it already integrates a MySQL data base server.
The installation of a databases server, such as MySQL or Microsoft SQL, is not necessary beacause hMailServer have a MySQL databases server.
The first stage is naturally to download hMailServer directly from the editor web site (http://www.hmailserver.com), in order to to obtain the latest stable version.(http://www.hmailserver.com/?page=download)
In order to launch the installation, double-click on the file thus to download (It should look like : hMailServer-4.2.1-Build-197.exe).
During the installation, the utility will require of you to choose which type of databases server you would like to use.
It is advised to use that which is integrated into hMailServer (MySQL), nevertheless you can choose your server. In this case, it will be necessary to wait the end of hMailServer installation, in order to carry out the utility of basic installation of hMailServer data. It will guide you in the creation of the data base, and tables to the correct operation of hMailServer.
If you use Microsoft SQL or an external version of MySQL, already functioning on the same machine, you should carry out the suitable script, which is located in the directory "C:\Program Files\hMailServer\Addons\Service dependencies". The installation of hMailServer will automatically try to record the services dependence, but in certain cases, it is possible that it does not detect correctly which databases server it should depend. If you can not fix the dependence of the services, hMailServer risk not to be able to contact the databases server of after reboot. (That is it when hMailServer starts before the of databases server.)
After its installation, you will have make sure that your server
DNS (Domain Name System, server dedicated to names resolution) is
correctly configured, so that the users of your network can contact
easily the computer on which hMailServer is installed, by its hostname
(for example : mail.net), without being concerned with its address IP.
hMailServer starts, after its installation, the administration utility is carried out. Thereafter, after the configuration, hMailServer will start automatically with each opening of Microsoft Windows like a service.
In order to be able to use hMailServer, you should create accounts. For that, click on the Add a domain button in the page welcome of the administration.
Enter a domain name (for example : mail.net ), then click on le bouton save. The field thus created appears in the left part as well as a tree structures Accounts, Alias, Distribution lists.
Then create one or more accounts, using Add an account
button. You have the possibility to specify the address, the password,
the maximum size of limps mall of the new user, like his level of
administration.Defining the level of administration will make it
possible to define the accesses of the user on the server. (This is
managed by the PHPWebAdmin tool which is an interface allowing the
administration of its account mall, as well as server according to the
level.)If the level is user, the user will be able to open a session and to change his password. If domain, it will be able to add accounts, aliases and distribution lists for the domain. If serverit will be able to add fields and to change the configurations of server.
Once this seized information, click on save button in order to validate the creation of the account. To create a new account, turn over to the page of the fieldmail.net (By clicking above in the left-hand column)
You can also add users using Active Directory (By right-clicking on accounts in the left-hand column.),thus, the user will use his identifier and his password defined by Active Directory.
You can modify an account by selecting it in the part of left.
By right clicking on one of the accounts you can remove it.
Thus some accounts were created, you must thus enable them to send e-mails: you thus will configure the smtp.
So that an electronic mail server can function correctly, it must have a hostname, in order to be contacted by the customers and recognized by the other servers. To be done, deploy the parameters category then click on SMTP.
If you want to limit the number of simultaneous connections with the server, seize a number other than 0. (0 is by default.) The message of welcome is sent to the customers of smtp directly after they were connected to the server. Nevertheless, this message, in general, is never seen by the shipper or the receiver.Therefore, the fact of changing this message just consists in returning more difficult it to the recognition of the software used by the mail server.(Thus slowing down all attacks of data-processing hackers)
Choose the e-mail distributions miter to specify the name of the server (for example : smtp.mail.net), as well as other information such as server smtp of your provider of access to Internet (for example : smtp.wanadoo.fr)to
relay the emails through Internet. Moreover, in the anti-spams fight,
it is preferable to envisage a name for its server because certain
servers on Internet rejetent any message coming from an anonymous
In the event of problem, hMailServer will make, by defect, four attempts at connection to 60 minutes of interval. To take into account your parameters, click on save button.
hMailServer is now configured to accept all the messages coming from the computer on which it is installed.If you wish that it also takes charges the messages of them of the other computers of your network, you must specify to him by indicating the range of IP addresses of these computers.To know address IP of a computer, open one invites of command and type "ipconfig", then [Enter]. Address IP consists of four numbers separated by a point. (For example : 192.168.131.1) In the administration window, select the parameters category then
Click on Add button. Name the new IP section (for example : réseau). Enter then the value of the lowest address and highest (for example : 192.168.131.1, for the lowest, and 192.168.131.100, for the highest), then authorize connections smtp POP3 and/or IMAP, and notch the two types of local delivery. (to a local account and to distant accounts.) Finally to validate the sections of IP which you specified, click on save.
Now that the users can send e-mails, via your SMTP, it will be able thanks to the POP3, or the IMAP to receive some by the means of your hMailServer.
To configure POP3, click on POP3 in the left-hand column. This page enables you to define on which wearing of TCP/IP the server hMailServer should listen. By default, port 110 is employed. You should not normally change this configuration. You can again define the maximum number of connection, as well as the message of welcome.
In order to configure the IMAP, select IMAP in the left-hand column. This page enables you to define TCP/IP port to be used. By defect, it is about port 143, in order to obtain a total compatibility between the customers and the server, should not change that to you. You can again modify the message of welcome.
In order to use this service, it is necessary for you as a
preliminary, on the computer on which you installed hMailServer, a Web
server (Apache, IIS or any other Web server which can deal with the
PHP), like PHP >= 4.3.11 or PHP >= 5.0.3.
Then the first stage consists in copying the directory PHPWebAdmin which is in the hMailServer directory installation "C:\Program Files\hMailServer\") in the webroot ("C:\InetPub\wwwroot" pour IIS).
Go then in the repertory of PHPWebAdmin in the webroot ("C:\InetPub\wwwroot\PHPWebAdmin"). Be sure to have template_c and temp directories, if not create them. Rename the file config-dist.php in config.php, then to modify it with your preferred editor (Notepad) :
Then check that in php.ini short_open_tag is On
Use PHPWebAdmin, with a navigator Web go to http://localhost/PHPWebAdmin/ and you connect by using the identifier and password which you have specify in the file config.php for hMailServer 3.x versions, or by using an accounts that you will have created as a preliminary with a "server" level for the 4.x versions and later.
The server being installed, it any more but does not remain you to configure the customers.
Therefore, on each customer create an account putting as outgoing mail (SMTP)
the hostname (if you have a DNS server) or the IP address of
hMailServer. Concerning the reception of courriels, that becomes
complicated. Indeed, that will function without problem within your
network (by putting as outgoing mail(POP3 or IMAP) the
hostname or the IP address), but if you want to receive e-mails coming
from Internet, you need a fixed IP address and a domain name, or a
domain name which dynamically redirect to your computer (for example
Now You have an electronic mail server with a very simple interface of administration of use without to have spent the least under.