Every email account in hMailServer must belong to a domain. The domains specified in hMailServer can be local network domains or global internet domains such as


Domain name

The name of the domain. To be considered valid, a domain name must include a dot. You must set up your DNS servers so that email can be sent to your mail server.


One domain can have several names. These are also known as domain aliases. For example, your organization might own the domain,, but it might also own, and If you want to be able to receive email for all these domains, you will have two options:
  1. Add all four domains to hMailServer. The problem with this is that you then have to add every email account 4 times, once for each domain.
  2. Add as a domain, and then, under it, in the Names-tab, add, and That is, you add, and as aliases of That, usually, is the route most users prefer.


On the signature tab, you can configure hMailServer to add a signature to all email sent from this domain. It's possible to enter both a plain text version and a HTML version of the signature. If no HTML signature is specified, hMailServer will use the plain text signature as HTML signature as well.
  • Add signatures to replies
    If this option has been selected, hMailServer will add signature to replies. To determine whether a message is a reply, hMailServer checks for the In-Reply-To and the References header in the e-mail. This option is de-selected by default.
  • Add signatures to local email
    If you select this option, hMailServer will add signatures to local email. An email is considered local in this case if both the sender and all the recipients exist in the same domain. An email sent from one domain to another is not considered local, since the sender and recipient may not be aware of the fact that they both are hosted on the same server.
  • Enable domain signature
    If you select this option, the specified signature will be appended to email.

    • Use signature if none has been specified in the senders account.
      When selected, hMailServer will only use domain signature if an account signature has not been specified.
    • Overwrite account signature
      If you select this option, hMailServer will not use the account signatures for this domain. Instead, the domain signature will be used for all emai.
    • Append to account signature
      When selected, hMailServer will append the account signature with the domain signature. This can be use if you for example want to add disclaimers to all outgoing email.
  • Plain text signature / HTML signature
    These two fields specify the signature to be used

It is possible to use the macros %User.FirstName% and %User.LastName% in signatures. These macros will be replaced with the users first and last name as specified in the account settings.


Maximum size (MB)

If this value has been specified (is not 0), the system administrator and the domain owner will be prevented from adding accounts so that the total size of all accounts exceeds this value. If you have specified 500MB, the total size of all messages in the domain will not exceed 500MB.

Maximum message size

If specified, hMailServer will reject messages larger than this size.

Maximum size of accounts (MB)

If this value has been specified (is not 0), the server administrator and the domain owner will be prevented from adding accounts with a total size larger than this value.

Number of accounts, aliases and distribution lists

Using these settings, you can limit the number of accounts, aliases and distribution lists server administrators and domain owners can create in this domain.


This tab contains the advanced settings for the domain. You normally don't need to modify these settings.

Catch-all address

If you specify a catch-all address, hMailServer will forward all email with invalid recipients on the domain to this account.

Plus addressing

Use this option to enable plus addressing for this domain. To avoid confusion and configuration problems, only a limited set of characters are allowed for plus addresing.

Grey listing

Use this option to enable and disable grey listing for this domain.

Search documentation