Set up an SPF record to prevent emails ending up in the spam folder

Sender Policy Framework (SPF) is a text record added to the Domain Name System (DNS) that contains the domain names of any servers you allowed to use your domain name to send emails.

Configuring the SPF record is considered good practice, as it helps prevent attackers from misusing your domain name for phishing attacks.

To allow Sufio to send emails with your domain name, you need to add Sufio's server to your SPF record. This will ensure that when the receiving server checks incoming mail from Sufio and verifies the Sufio server against the SPF record, the Sufio server will be found in the SPF record. As a result, the receiving server will not mark the email as spam.

Setting up an SPF record

To set up an SPF record:

  1. In your domain provider management console, navigate to the DNS record settings for the hostname you specified to send Sufio emails (for example, acmeshop.com).
  2. Check if you already have an existing SPF record. Search for a TXT record that starts with v=spf1.
  3. If you do not have an SPF record, create a new TXT record for the hostname of your domain (for example, acmeshop.com), and in the value field, enter the following code:
v=spf1 include:mailgun.org ~all
  1. If you already have an existing SPF record, add the mailgun.org to the value field. For example, if you previously had _spf.google.com in your record, the resulting field should look like this:
v=spf1 include:_spf.google.com include:mailgun.org ~all
  1. Save your changes.

Please note that it may take up to 48 hours for the changes to be applied.

Caution

Only use one SPF record per domain. If you already have an SPF record set up for your domain, add the mailgun.org to the existing record.