Fastmail + Hostinger

Set up Fastmail on Hostinger

The records Fastmail needs, written with the field names Hostinger uses (Name, Mail server, TXT value, Content), in the order to add them.

  • 4 steps
  • 7 DNS records

Before you start

  1. Have your Fastmail account ready. Some values are unique to your account and come from the Fastmail Settings .
  2. Open DNS at Hostinger: In hPanel, go to Domains and click Manage next to your domain. Open DNS / Nameservers on the left. Use the Manage DNS records section.
  3. Keep both tabs open and add the records below one at a time.

Fastmail on Hostinger: what to know

How long changes take

Hostinger says DNS changes can take up to 24 hours to fully propagate.

Source: How to manage DNS records at Hostinger (Hostinger Help)

Records to add

Copy each value with the button next to it. Rows marked “Copy from Fastmail Settings” are unique to your account.

MX records Where incoming email goes Type MX Name @ Value in1-smtp.messagingengine.com Priority 10 TTL 14400 seconds (4 hours)
MX records Where incoming email goes Type MX Name @ Value in2-smtp.messagingengine.com Priority 20 TTL 14400 seconds (4 hours)
SPF record Which servers may send as you Type TXT Name @ Value v=spf1 include:spf.messagingengine.com ?all Priority n/a TTL 14400 seconds (4 hours)
DKIM A signature on every message Type CNAME Name fm1._domainkey Value fm1.yourdomain.com.dkim.fmhosted.com Priority n/a TTL 14400 seconds (4 hours)
DKIM A signature on every message Type CNAME Name fm2._domainkey Value fm2.yourdomain.com.dkim.fmhosted.com Priority n/a TTL 14400 seconds (4 hours)
DKIM A signature on every message Type CNAME Name fm3._domainkey Value fm3.yourdomain.com.dkim.fmhosted.com Priority n/a TTL 14400 seconds (4 hours)
DMARC record What to do with fakes · recommended Type TXT Name _dmarc Value v=DMARC1; p=none; Priority n/a TTL 14400 seconds (4 hours)

Step by step in Hostinger

Point your MX records

MX records tell other mail servers where to deliver your email. How MX works

Type
MX
Name
@
Priority
10
Mail server
in1-smtp.messagingengine.com
Type
MX
Name
@
Priority
20
Mail server
in2-smtp.messagingengine.com

In Hostinger

  1. In Manage DNS records, choose MX as the type.
  2. Enter @ as the Name, your provider's mail server, and the Priority. Keep the default TTL unless your provider asks otherwise.
  3. Click Add Record.
  4. Repeat for each MX record above.

Add the SPF record

SPF lists the services allowed to send email as you. How SPF works

Type
TXT
Name
@
TXT value
v=spf1 include:spf.messagingengine.com ?all
  • This is the exact value from Fastmail's manual DNS guide, which ends in ?all (neutral).

In Hostinger

  1. In Manage DNS records, choose TXT as the type.
  2. Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value.
  3. Click Add Record.

Set up DKIM

DKIM signs your mail so receivers can trust it. How DKIM works

Type
CNAME
Name
fm1._domainkey
Content
fm1.yourdomain.com.dkim.fmhosted.com
Type
CNAME
Name
fm2._domainkey
Content
fm2.yourdomain.com.dkim.fmhosted.com
Type
CNAME
Name
fm3._domainkey
Content
fm3.yourdomain.com.dkim.fmhosted.com

In Hostinger

  1. In Manage DNS records, choose CNAME as the type.
  2. Enter the name (only the prefix) and the content your provider gives you.
  3. Click Add Record.
  4. Repeat for each CNAME record above.

Add the DMARC record (recommended)

DMARC tells receivers what to do with mail that fakes your domain. How DMARC works

Type
TXT
Name
_dmarc
TXT value
v=DMARC1; p=none;

In Hostinger

  1. In Manage DNS records, choose TXT as the type.
  2. Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value.
  3. Click Add Record.

Check your setup

Once the records are saved, run a live check. We look up your domain in public DNS and tell you what is right, missing or wrong, with the fix in Hostinger’s words.

We only read public DNS records. Nothing is stored.

Common mistakes with Fastmail on Hostinger

Adding fewer than three DKIM records

Fastmail signs with three selectors (fm1, fm2, fm3). All three CNAMEs are required.

Adding a second SPF record

Only one record may start with v=spf1. Merge Fastmail's include into the existing one.

Hostinger: Delete Hostinger Email's MX records

If the domain was set up for Hostinger Email, the zone contains MX records for mx1.hostinger.com and mx2.hostinger.com. Delete them before adding another provider's MX records.

Hostinger: Clear out old email records

Hostinger recommends removing any existing MX, SPF, DKIM and DMARC records that point to other email services, because conflicting records cause delivery problems.

Fastmail on Hostinger: questions

Where do I add Fastmail DNS records in Hostinger?

In hPanel, go to Domains and click Manage next to your domain. Open DNS / Nameservers on the left. Use the Manage DNS records section. Add each record there, one at a time.

What goes in the Name field at Hostinger?

Enter @ for records on your bare domain, such as MX and SPF. For the others, enter only the part before your domain, for example fm1._domainkey. Hostinger adds your domain automatically.

Do I need to delete my existing MX records at Hostinger?

Yes. Sending servers pick an MX record by its priority (lowest number first) and fall back to the others, so a leftover MX record can receive some or all of your mail. Keep only the Fastmail MX records and delete the rest. If the domain was set up for Hostinger Email, the zone contains MX records for mx1.hostinger.com and mx2.hostinger.com. Delete them before adding another provider's MX records. Hostinger recommends removing any existing MX, SPF, DKIM and DMARC records that point to other email services, because conflicting records cause delivery problems.

Where do I get my Fastmail DKIM record?

Fastmail DKIM records are CNAME records whose value includes your domain, for example fm1.yourdomain.com.dkim.fmhosted.com. Copy the exact values for your domain from the table on this page.

How long until Fastmail works on Hostinger?

Hostinger says DNS changes can take up to 24 hours to fully propagate.