Setup custom fastmail email account for your business domain

Estimated reading time: 4 mins

Title of the article

Last night, I activated the first business-y email account for our cspray.ca project using Fastmail email service. What I mean by that is — I wanted to send and receive email using something like: [email protected]

It is super exciting for me because it definitely gives cspray.ca a new level of professionalism. Plus it looks super cool and official. Now that I’ve done it, I want to document the tl;dr of the process for myself and share with you along the way. I wish I would have done this sooner because it is really EASY to do.

I’ve had email catchers before but I’ve never had the opportunity to send emails from my own domain. Plus, I’ve been looking at trying out new tools for my email anyway. I’ve been with google’s email service since its inception. All of the things aligned.

So here is the tl;dr of the requirements if you want to follow along.

NOTE: I am using affiliate links for digitalocean and linode. If you were going to open up a new VPS anyway… why not send a few referral bucks myway? Every penny helps my dear friend <3

I am using:

NOTE: I am planning to move away from digitalocean. Testing linode at the moment. Looks promising. Open to suggestions =)

At the present, I manage my domain from my VPS panel located on digitalocean. All of my information is contained in one place.

And the best part? You have a 30 day trial to see if it works for you

NOTE: I found this blog post to be super useful!

tl;dr — the final version will be :

image of the finished result as seen from the digitalocean dashboard

Add 3 CNAME Records

TypeHostnameValueTTL (seconds)
CNAMEfm3._domainkey.cspray.cais an alias of fm3.cspray.ca.dkim.fmhosted.com3600
CNAMEfm2._domainkey.cspray.cais an alias of fm2.cspray.ca.dkim.fmhosted.com3600
CNAMEfm1._domainkey.cspray.cais an alias of fm1.cspray.ca.dkim.fmhosted.com3600

Add 2 MX Records

TypeHostnameValuePriorityTTL (seconds)
MXcspray.camail handled by in2-smtp.messagingengine.com.203600
MXcspray.camail handled by in2-smtp.messagingengine.com.103600

Add 1 TXT Record

TypeHostnameValueTTL (seconds)
TXTcspray.careturns v=spf1 include:spf.messagingengine.com ?all3600

After 3 CNAME, 2 MX, and 1 TXT entries …

go check on your fastmail account setting dashboard under domains. Everything should just work. If not, there is a button to try again or refresh or something along those lines to start the process again in case there was an error.

Note: Mac native Mail.app installation

  • follow the automatic installation link that you get during the process of creating a brand new application password
  • it works as of 2018-12-10 19:13:12 on Mojave 10.14.2

Note: iOS 12 installation

I tried to follow fastmail’s tutorial for adding an account so that I can receive and send my email using the native Apple’s Mail.app. More specifically, I got stuck on the following screen:

image of the place where I got stuck in fastmail's automatic setup for ios 12

The work around is simple: just enter it manually. Check out this example.

  • Incoming Host Name: imap.fastmail.com
  • Username: your full FastMail username, including the domain.
  • Password: your iPhone app password (What’s an app password?)

  • Outgoing Host Name: smtp.fastmail.com
  • Username: your full FastMail username, including the domain.
  • Password: your iPhone app password (What’s an app password?)


  • you will need to create app passwords a bunch… so read about it…
  • setup 2-fa security for your business account. ps: don’t use the cellphone/text option… use something like FreeOTP

See you next time

UPDATE 2018-12-20 06:16:09 : A version of this article was also posted on here.

· software engineering, email, fastmail, fastmail business, fastmail dns
< Previous Article

👈 Binary trees

Next Post >

Updates 👉

We announced a new product!