Domain

Overview

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 hMailServer.com.

General

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.

Names

One domain can have several names. These are also known as domain aliases. For example, your organization might own the domain, company.com, but it might also own company.org, company.se and company.de. 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 company.com as a domain, and then, under it, in the Names-tab, add company.org, company.se and company.de. That is, you add company.org, company.se and company.de as aliases of company.com. That, usually, is the route most users prefer.

If you set up a domain named example.com, and an alias named example.net, your server will accept email for both someone@example.com and someone@example.net. Your users will be able to log on as both someone@example.com and someone@example.net as well.

Signature

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.

Limits

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.

DKIM signing 

Private key file

The private key to use when signing messages with DKIM. This must be a file existing on the local file system, readable by hMailServer, and the file must not have a password set.

Selector

Selector to usew for signing. This is used as a namespace dividor for large domains.

Header method

Choose between simple and relaxed canonicalization method. If you choose the simple canonicalization method, the signed headers of the message must not be modified at all. If a new line is added in an header the verification will fail. Choose the relaxed canonicalization method if you want to allow minor modifications to header li

Body method

Choose between simple and relaxed canonicalization method. If you choose the simple canonicalization method, the body of the message must not be modified at all. Choose the relaxed canonicalization method if you want to allow minor modifications to the body.

Signing method

Choose between the algorithms SHA1 and SHA256. SHA256 is encouraged since it gives higher security than SHA1. Senders of low-security messages such as newsletters may want to use SHA1 instead since it requires less CPU resources.

Advanced

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