Set up a custom mailing domain to comply with your DMARC policy

If you want to improve email deliverability by ensuring that emails comply with your domain's DMARC policy, or you want to send Sufio invoices from your own domain rather than on behalf of it, setting up a custom mailing domain for your Sufio account is necessary.

Note

Custom mailing domains are only available in the Professional plan and higher. To help you set things up, please contact our experienced support team first, as many of these steps will require their help.

Choose a subdomain for sending Sufio emails

To set up a custom mailing domain, we strongly recommend that you dedicate a separate subdomain (for example, invoices.acmeshop.com) for sending emails from Sufio. This way, you can protect your domain reputation, especially when sending a large number of emails.

Caution

Certain domain providers may automatically append the root domain to the hostname value you input in the DNS. If this applies to your provider, make sure to input only the subdomain when entering the hostname value.

Otherwise, you risk creating an incorrect record, such as invoices.acmeshop.com.acmeshop.com.

Set up an SPF record

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

To set up an SPF record:

  1. In your domain provider management console, navigate to the DNS record settings for the hostname of the subdomain you specified to send Sufio emails (for example, invoices.acmeshop.com).
  2. Check if you already have an existing SPF record for the subdomain you dedicated to send emails from Sufio. 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 subdomain (for example, invoices.acmeshop.com), and in the value field, enter the following value:
v=spf1 include:mailgun.org ~all
  1. If you are not using a separate subdomain and 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 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 or subdomain. If you already have an SPF record set up for your subdomain, add the mailgun.org to the existing record. You can create a separate SPF record for each subdomain, for example, invoices.acmeshop.com.

Set up a DKIM key

DomainKeys Identified Mail (DKIM) is an authentication method used to verify that the emails come from the actual sender and not from someone that pretends to be the sender. When a receiving server checks a Sufio email sent from your domain, it verifies that the email was signed with a DKIM key from Sufio.

To set up DKIM for your custom mailing domain:

  1. Contact our support team to create and provide you with a custom DKIM key for your chosen domain.
  2. In your domain provider management console, navigate to the DNS record settings (also called Domain settings) and locate the option to create or edit records.
  3. For the subdomain you chose for sending Sufio emails, add a new TXT record with the hostname and value provided by our support team.
  4. Save your changes.

Set up MX records

Mail Exchange (MX) records are used to direct incoming mail for an email address to a specific server address. For Sufio emails, a custom MX record needs to be configured for your subdomain to allow tracking of email deliverability.

That means, when a customer receives an email from Sufio, their server sends back a confirmation that the email was received and the MX record tells the customer to send the confirmation back to Sufio.

If you do not set up the MX record, some receiving servers may even reject emails sent from your domain or mark them as spam.

Caution

Modify your MX records only when you are using a subdomain dedicated for Sufio emails (for example, invoices.acmeshop.com). If you modify your primary domain MX records, you may override your existing settings and you may not be able to receive any emails.

To set up an MX record:

  1. In your domain provider management console, navigate to the DNS record settings (also called Domain settings) and locate the option to create or edit records.
  2. For the subdomain you chose for sending Sufio emails, add a new MX record with the hostname of your subdomain (for example, invoices.acmeshop.com) and the following values:
MX record value Priority
mxa.mailgun.org 10
mxb.mailgun.org 10
  1. Save your changes.

Set up a CNAME record

Sufio uses CNAME record to track email opens and clicks.

  1. In your domain provider management console, navigate to the DNS record settings (also called Domain settings) and locate the option to create or edit records.
  2. For the subdomain you chose for sending Sufio emails, add a new CNAME record with the hostname (the subdomain should start with email., for example, email.invoices.acmeshop.com) and value mailgun.org.
  3. Save your changes.

Note

Please note you may have to wait up to 48 hours before any changes you make to your DNS records are applied.

After following all the steps, contact our support team to confirm that everything has been set up correctly and to receive help troubleshooting any issues. They will then add the custom mailing domain and ensure that the entire setup on your Sufio account works as expected.