An SPF record can save your domain from spam and phishing by allowing you to keep a record of your authorized sources. Gorgias highly recommends their customers set up SPF for their respective domains. Here’s how you do it:
Creating SPF record for Gorgias
- An SPF TXT record for Gorgias will have the following syntax:
mydomain.com TXT Host: gorgias.gorgias.io Value: v=spf1 include:mailgun.org -all
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 the steps below:
1. In Gorgias, navigate to Settings → Integrations → Email → your email integration → Domain 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.
2. 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.
3. 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'.
4. 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.
5.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.
Finally, you can look up your record using our SPF record lookup tool, and enable DMARC for your domains to minimize spoofing attacks by taking a free DMARC trial.