Setting up your own email server with hMailServer

Categories:

There are a many email servers for Windows out there that range in price depending on functionality and the software vendor. However, it is not often you find an email server for Windows that is open source (free to use and modify via the GPL license), feature rich, stable and very well supported. There are some notable free offerings such as MailEnable Standard and Windows 2003 Server even comes with a basic POP3 email server, but it seems that they are always just crippled enough to make you want something a bit more. This is where hMailServer comes in as it offers just about everything you could want in an email server. SMTP with advanced routing abilities, POP3, IMAP4, distribution lists, powerful anti-spam tools, real time anti virus protection, PHP/COM based web administration, log file analysis, configurable server messages and rules, advanced performance options. The list goes on, and all this in a RFC compliant package with an easy to use GUI interface.

In this guide we'll cover the basics of what you need to do to configure your email environment properly using hMailServer 4.3.1 as your email server. This includes;

  • Configuring you DNS records
    • A (Address) record
    • PTR (Pointer Record) record
    • MX (Mail eXchange) record
    • Considerations for hosting from home
  • Installing hMailServer
    • Select installation path
    • Select installation type
    • Select built-in or external database
    • Select program group for start menu access
  • Configure hMailServer
    • Create domain
    • Create postmaster account
    • Create abuse alias for postmaster account
    • Set SMTP host name
    • Configure RFC compliance
    • Configure SMTP relay options to prevent open relay
  • Test your email environment
    • Test against dnsreport
    • Test for open relay

Comments

Anonymous's picture

hmail server outlook client configuration

cannot setup client to send or recieve mail from hmail server.
when setup client on the same computer, it works fine.but to access mail from a workgroup pc, comes up with errors

Brashquido's picture

What errors? If you are

What errors? If you are running a software firewall, then you will need to open the ports in use by hMailServer. Namely TCP ports 25, 110 and 143.

Anonymous's picture

hmailserver config

hy. i cant send mails with hmail server when i`m trying to send an email it gaves me an eror "smtp requires auth" what can i do?

Brashquido's picture

This will be a settings

This will be a settings issue. By default hmail requires authentication to send email to domains it does not host. All you need to do is ensure that you enter a username and password in the SMTP setttings in your email client. Only realy thing to note here is that hmail only accepts usernames in the form of .Let me know how you get on.
----------------
Dominic Ryan
3 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

Anonymous's picture

hy, I can send mail with

hy, I can send mail with hmail but i don't receive any mail. If i change in my client POP3 server to mail.domain.es, i can receive all mails, but i change to nameserver, ican't receive any mail.

Thanks, and sorry for my english.

Brashquido's picture

You'll need to set your POP3

You'll need to set your POP3 server to the name or IP address which your server is connected to the Internet with.
----------------
Dominic Ryan
3 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

Anonymous's picture

Hmail

Hello,

I can't receive email with hmailserver. My web host told me it is something to do with pop3. How an i configure it? I went under protocols and I cannot configure it.

Brashquido's picture

SMTP is responsible and

SMTP is responsible and sending and receiving messages, POP3 (or IMAP4) handles your message storage. What do your Hmail SMTP say?
----------------
Dominic Ryan
3 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

Anonymous's picture

not send or receive

Hey I m not able to send or receive messages with use of hmailserver, What can i do? Please help me.

Brashquido's picture

That could be caused be any

That could be caused be any number of things. Are you running your mail server over a residential Internet connection? Have you followed the SMTP configuration instructions on page 5?
----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster