Skip to main content

Improve email deliverability with DKIM and SPF records

Overview of DKIM and SPF records and how they improve email deliverability for Dubsado users with custom domain emails.

Written by Trevor

When you email contracts, invoices, and proposals to your clients, you want those emails to land in your client's inbox, not their spam folder. Setting up DKIM and SPF records, along with a DMARC record, tells your clients' email providers that messages sent through Dubsado are legitimate, which improves your email deliverability.


What are DKIM and SPF records?

Both DKIM (DomainKeys Identified Mail) and SPF (Sender Policy Framework) help your email provider recognize that emails sent through Dubsado are legitimate. In other words, both help reduce your emails from going into spam and improve your email deliverability. This matters most if you send from an email address with a custom domain name.

The difference between DKIM and SPF is how they improve deliverability. DKIM uses a digital signature that matches an encrypted key at your domain host, while SPF authorizes specific email hosts to send emails on behalf of your domain.

A third record, DMARC, builds on SPF and DKIM. It tells email providers what to do with messages that fail those checks. It isn't required for most senders, but we recommend adding one alongside SPF and DKIM. See DMARC records for steps.


Do I need to set up SPF and DKIM?

Google, Yahoo, and Microsoft all check email authentication on the mail they receive. Google's sender standards, for example, require every sender to use SPF or DKIM. Whether you need to take any action depends on the type of email address you send from.

If your email address is not a custom domain email (for example, it ends in @gmail.com, @outlook.com, or @icloud.com), you don't need to do anything. SPF, DKIM, and DMARC are set up automatically through your email provider.

If your email address is a custom domain email, such as hello@yourwebsite.com, you'll need to set up SPF and DKIM for your domain. We also recommend adding a DMARC record.

If you use a free consumer email address, you don't need to set up SPF, DKIM, or DMARC. Your provider handles it automatically.


Set up SPF, DKIM, and DMARC by provider

If you're setting up a custom domain email, follow the steps for your email provider below.

Google

  • Set up SPF: Follow Google's help article to create or update an SPF record. For help adding the record at your domain host and checking it, see SPF records.

  • Set up DKIM: Follow Google's help article to configure and enable DKIM. Setting up DKIM is done solely through your Google account, so Dubsado won't prompt you to set up DKIM.

  • Set up DMARC: Follow Google's help article to set up DMARC, or see DMARC records for the basic record to add at your domain host.

Microsoft or GoDaddy

  • Set up SPF: Follow Microsoft's help article to create or update an SPF record. For help adding the record at your domain host and checking it, see SPF records.

  • Set up DKIM: Follow Microsoft's help article to configure and enable DKIM. Setting up DKIM is done solely through your Microsoft account, so Dubsado won't prompt you to set up DKIM. Until you turn on DKIM for your custom domain, Microsoft signs your emails with its own domain, which doesn't count toward DMARC.

  • Set up DMARC: Follow Microsoft's help article to set up DMARC, or see DMARC records for the basic record to add at your domain host.

All other providers

  • Set up SPF: Follow your email provider's help article to create an SPF record. Each email host has its own SPF value, so use the one your host gives you. See SPF records for how to add it and check it.

  • Set up DKIM: Follow our help article to set up DKIM with your domain host.

  • Set up DMARC: Add a DMARC record at your domain host once SPF and DKIM are in place. See DMARC records for steps.

For Google and Microsoft accounts, DKIM is set up entirely in your email provider's admin console. Dubsado will not prompt you to generate a DKIM record.


Generating a DKIM key in Dubsado

If you connected your email through SMTP, Dubsado can generate a DKIM key for you. Navigate to Messages ➔ Settings, or Settings ➔ Emails, then scroll to the Email deliverability section. This section is only available to Admin and Owner roles, and its DKIM subsection appears when you connected with Connect with SMTP (not Continue with Google or Continue with Microsoft).

  1. Choose a Key size, either 1024-bit or 2048-bit. 2048-bit is recommended.

  2. Click Generate DKIM Keys.

  3. Add the displayed record to your domain host's DNS settings, using the Type, Host / Name, and Value shown.

  4. Click Verify.

DKIM tools in Dubsado only appear for accounts connected by SMTP. If you connected your account through Google or Microsoft directly, set up DKIM in that provider's console instead.


FAQ

My SPF record includes spf.dubsado.com or Dubsado IP addresses. Should I keep them?

No, remove them. Emails you send from Dubsado go out through your email host, so Dubsado doesn't need an entry in your SPF record, and some Dubsado entries can cause your SPF check to fail. Look for spf.dubsado.com and the IP addresses 138.68.63.10 and 198.199.95.53. See SPF records for exactly what to remove.

I set these records up and my emails to clients are still going to spam.

Spam filters change frequently, even after your SPF and DKIM records are set up correctly. Check out prevent emails from going to spam for more tips on keeping your emails out of spam folders.

What's the difference between my email host and my domain host?

A custom domain, like yourdomain.com, needs a host. Your email host is the provider for your email address at that domain, such as hello@yourdomain.com. Your email host and domain host might be the same company, or they might be different. For example, your domain could be hosted through Cloudflare while your email runs through Google.

Your email host provides the SPF record value, which you then add to the DNS records at your domain host. If you need help, start by reaching out to your domain host's support team.

If I change domain hosts, do I need to update my DKIM and SPF records?

Yes. If you move your domain to a new host, you'll need to repeat the SPF and DKIM setup process.

I don't feel comfortable making these changes in my domain. Can you help me?

Dubsado isn't able to provide support for setup questions specific to your domain or email host. Contact your domain host for assistance.

Did this answer your question?