Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Email Domains

Creating and configuring an email domain is a required part of providing email functionality within some of the Hornbill applications. The domain is primarily concerned with facilitating the outbound mail operation, delivering from the Hornbill instance to the outside world.

Topics Covered

  • Creating a new email domain.
  • Enabling DKIM.
  • Choosing a routing mode.
  • Performing an SPF test.

Before You Begin

This guide takes you through administrative configurations. The following will be needed to complete this guide:

  • Hornbill Admin User access.
  • General knowledge of using Configuration.
  • A fully qualified domain name for outgoing email.
  • A working knowledge of your mail servers and firewalls within your organization.

Creating an Email Domain

To create and configure a new email domain in Configuration.

  1. Search Configuration for Email Domain.
  2. In the results, select Email Domain.
  3. Click on the + Add Outbound Route button.

Details

  • Domain Name
    The name that is used here must be a valid domain name. For example ‘mycompany.com’.
  • Enable processing of incoming mail on this route
    Turning this on will allow any email that has been sent to this domain to be processed by the SMTP service and allow it to be routed to the appropriate mailbox.
  • Automatically create an address for this route when a new mailbox is created
    When a new user is created a personal mailbox is created and associated with that user. When this feature is enabled, each new user will be automatically allocated an email address using this domain name. The Address Format can then be used to set the format of the username.
  • Address Format
    The Address Format is to be used when a new personal mailbox is created. This is only available if you have enabled the option above to automatically create addresses for this route. The formats that can be selected are based on variations of the Firstname and Lastname of the user with the exception of the LoginID.

Enable DKIM

DomainKeys Identified Mail (DKIM) is an email authentication method designed to make sure messages aren’t altered in transit between the sending and recipient servers and to detect forged sender addresses in email (email spoofing), a technique often used in phishing and email spam.

  • DKIM Selector
    A DKIM selector is specified when the private/public key pair is created when DKIM is set up for the email domain (or email sender), and it can be any arbitrary string of text.
  • DKIM Key Size
    Choose between 1024 and 2048 bits for your key size.

Note

Once the domain has been saved, you will be presented with a DKIM Key

Outbound Routing Mode

There are two methods of outbound routing available in Hornbill. Select the one that is most desirable to you based on the descriptions below.

Option 1: DNS Routing

If you wish to use DNS Routing, this requires the following steps.

  1. Add an SPF and TXT record to your DNS server.
  2. Validating the record using the Test SPF button.
  3. After a successful test, click on the Create Route button.

Tip

If your domain name is set to live.hornbill.com an SPF/TXT record is not required.

SPF/TXT Record

The SPF/TXT record allows Hornbill to send emails using the configured domain without the risk of breaching any anti-spam/email source validation checks.An SPF/TXT record must be configured by someone in your organization that manages your DNS records.

The following record is to be added

include:_spf.hornbill.com

An example SPF/TXT record would be

v=spf1 include:_spf.hornbill.com ~all

On all outbound email for this domain, Hornbill checks that the SPF/TXT record has the ‘’‘include:_spf.hornbill.com’‘’ section set otherwise the mail will refuse to send. This check is put in place to ensure Hornbill is allowed to send email as the given domain and to prevent abuse such as someone sending email pretending to be from a domain they do not own.

Note

SPF/TXT – these are both types of DNS record which should be set although SPF have been officially deprecated it still may be used so it can be a good idea to set. The main record that needs to be added is the TXT version.

Encryption

When an email is delivered, our servers will automatically negotiate the highest level of transport encryption supported by the remote SMTP server. This is completely automatic and is negotiated every time a new SMTP connection is made. We support the TLS 1.2, TLS 1.1, TLS 1.0, SSL 3.0, and Plain Text protocols, prioritized and negotiated for in that order.

Option 2: SMTP SmartHost

A smart host is a type of email message transfer agent that allows a Simple Mail Transfer Protocol (SMTP) server to route email via an intermediate e-mail server rather than directly to the recipient’s server. With this method, an e-mail server within your organization is configured to allow the relaying of emails from your Hornbill instance (based in our data center) to your end users. With the relay configured, any outbound email will pass through your domain, and therefore, from the recipient’s perspective, the source domain will correspond to that used in the “from address” that we configure within Hornbill.

To successfully complete the email integration using this method you will need to:

  1. Create an outbound route in Hornbill and configure the necessary details.
  2. Configure a relay connector on your mail server (allowing relay from the appropriate origin IP stated below).
  3. Configure any necessary firewall rules (allowing traffic from the appropriate origin IP) to allow communication from your Hornbill instance.

Note

If you are not familiar with how to complete steps 2 and 3, please refer to the relevant vendor-specific documentation for your mail server and firewall interfaces.

Firewall - Origin IP Address

The origin IP that should be specified in any such firewall rules is one of the following and is dependent on the location of your instance. You should have both the Primary and Secondary IP for your geographical area:

  • Europe
    87.117.243.10 or 212.71.225.67
    If you are a UK or European customer, your instance will be located in our European data center and any outbound mail will originate from these IP addresses.
  • North America
    69.174.249.200 or 64.34.188.200
    If you are a North American customer, your instance will be located in our North American data center and any outbound mail will originate from these IP addresses.

Note

You will find a default domain entry (live.hornbill.com) comes already configured with your instance which allows you to test aspects of the Hornbill applications while you are organizing the email configuration required in your infrastructure.

Sending Email from a custom domain

Because Hornbill is a cloud solution, when sending e-mails from your Hornbill instance, you may want to send those e-mails from your corporate domain rather than a .hornbill.com sub-domain.

There are two configuration possibilities to achieve that:

Using the Sender Policy Framework (SPF) standard

This is the most straightforward scheme to implement, you simply add your domain to the hornbill instance and ensure that your DNS includes a directive in your SPF policy to tell mail servers out there that you are authorizing mail messages coming from our servers to be from someone@yourdomain.com - because of automated SPF checks done by our servers during configuration this can easily be set up by our customers without our assistance.

Additional reference Documents RFC4408 http://www.ietf.org/rfc/rfc4408.txt http://www.open-spf.org/FAQ

Using SMTP Smart Host

Instead of our servers taking care of mail routing, we can simply route all outbound e-mails for your specified domain to an SMTP relaying server of your choice. Typically this is your own enterprise SMTP server which you have to provide us access to (generally by creating special firewall rules to enable our servers to connect).

FCrDNS

This is known as Forward-Confirmed reverse DNS (FCrDNS). This means that the hostname’s A record must match the reverse DNS (PTR) record for the IP (and Vice Versa). This was a historic attempt to ensure that the Sender owned the domain and the DNS record. In reality, it never really worked once cloud services or multi-tenant systems became a reality with multiple SMTP serves serving many customers and having resilience and was dropped by all but 2 lists years ago.

Therefore as with many other cloud vendors, we are advising our customers and their email recipients to avoid using any blacklist that implements FCrDNS or if not possible, configure Hornbill to use their own SMART host rather than the live.hornbill.com provided SMART HOST

In This Document