Email - SPF & DKIM

Updated 1 month ago by Tamara Zaric

SPF and DKIM are the main sources used for setting up domain verification for email forwarding integrations.

You might also want to use it for Gmail as fallback, or if “Enable sending emails with Gmail” is disabled, and Outlook fallback too if you notice some trouble with deliverability, even though these are direct email integrations.

How it works

The main reason to set up domain verification is to have improved email deliverability. So, if you are experiencing a problem where your messages sent via email forwarding are not being received in your customers' main inbox, for example they are being sent to spam/trash, the first course of action would be to set up your SPF and DKIM.

Setup instructions

To set this up, you will first want to make sure that you have admin access to your integrations page in Gorgias, and also make sure that you have access to your domain registrar.

From there, please follow these steps:

  1. In Gorgias, navigate to SettingsIntegrationsEmailyour email integrationDomain verification. Here you will be met with a page where you can generate your DKIM key, but you will need to pick the size that is appropriate for your domain registrar first.

  1. Once you've generated a key, you will see that now there are two entries that need to be made. The setup for SPF and DKIM is just as easy as copying lines of text from one place into another, and this is exactly what needs to be done to have your domain verification set up. What you would need to do is open your domain registrar and copy the information from Gorgias into it.

  1. In your domain registrar you will have the option to add a new entry, and once you press that it will look something like the screenshot below. Since we are adding the "TXT" entry, you will select the type to be 'TXT', the Host will be (from the previous screenshot) 'gorgias.gorgias.io', and lastly the TXT Value will be 'v=spf1 include:mailgun.org ~all'.
Please note that, if you do already have some other entries, you will need to reach out to your email provider and ask that your entries are all merged into one using the inline method. For example 'v=spf1 include:mailgun.org a:example.com ~all'. More explanation in the Troubleshooting section below.

The same thing applies to adding DKIM to your domain registrar. You would, again, select the type to be 'TXT', under Host you will enter 'mailo._domainkey.gorgias.gorgias.io', and under TXT Value you would enter the key from step 2.

  1. Once both of these options are added to your domain registrar, you can proceed to wait for up to 72 hours for the domain verification to be completed. SPF should kick in sooner than DKIM, however it is highly advised not to change anything if all the entries have been entered correctly and just wait for the 72-hour mark to pass.

In the above example we used GoDaddy as the domain registrar, but rest assured that all other domain registrars are very similar and that the procedure would remain the same regardless of the domain registrar that you are using.

Any further questions or troubles concerning SPF or DKIM? Feel free to reach out to our Support Team anytime via our live chat or email at support@gorgias.com. Happy to help!


What do you think? Yay or Nay?