---
title: "How do I set up SPF, DKIM and DMARC at Gandi for Sarbacane Engage?"
description: "Authenticate your domain name at Gandi so that your prospecting emails reach the inbox."
url: https://help.sarbacane.com/en/articles/480-how-do-i-set-up-spf-dkim-and-dmarc-at-gandi-for-sarbacane-engage
collection: "Engage: Synchronization and domain"
updated: 2026-11-24
language: en
alternates: [es, fr]
---

# How do I set up SPF, DKIM and DMARC at Gandi for Sarbacane Engage?

Authenticate your domain name at Gandi so that your prospecting emails reach the inbox.

SPF, DKIM and DMARC are three DNS records that prove to mailbox providers that your emails really come from you. Without them, your Sarbacane Engage sequences may end up in spam. If your domain name is at Gandi, you add them in your domain's DNS records. It takes about fifteen minutes, then a few hours to take effect.

## Prerequisites

-   Access to your Gandi account.
    
-   The values provided by your email provider: the SPF "include" element, and the DKIM key with its host name.
    
-   An email address to receive DMARC reports, preferably a generic one.
    

**Important** Set up the three records in this order: SPF, DKIM, then DMARC. If your mailbox is also hosted at Gandi, customise your tracking domain too: Gandi blocks emails that use the shared tracking domain.

## Steps

**Open the DNS records**

1.  In your Gandi dashboard, click Domains, then your domain.
    
2.  Open the DNS records tab.
    

**Set up SPF**

If there is already a TXT record starting with v=spf1, click its pencil icon and add your provider's "include" element just before the ending (~all, -all or ?all). Otherwise, create it:

3.  In the top right, click Add.
    
4.  In the type field, choose TXT. In the name field, enter @. In the text field, paste the SPF record provided by your provider (for example v=spf1 include:\_spf.google.com ~all for Google Workspace).
    
5.  Click Create.
    

**Note** Gandi may add quotation marks around the text: this is normal.

**Caution** A domain must have only one SPF record. A second record makes both invalid.

**Set up DKIM**

6.  Click Add.
    
7.  In the type field, choose TXT. In the name field, paste the host name provided by your provider (usually in the form selector.\_domainkey). In the text field, paste the DKIM key.
    
8.  Click Create.
    

**Set up DMARC**

9.  Click Add.
    
10.  In the type field, choose TXT. In the name field, enter \_dmarc. In the text field, enter v=DMARC1; p=none; rua=mailto:youraddress@yourdomain.com, replacing the address with yours.
     
11.  Click Create.
     

## Expected result

Once the change has taken effect, your three records are valid:

-   **SPF**: on the MxToolbox SPF check page, enter your domain. The record is shown on a green background.
    
-   **DKIM and DMARC**: check them on the corresponding DMARC Analyzer pages.
    
-   You can also open an email sent from your address, show the original (in Gmail: ⋮ menu › Show original), then analyse the header with the MxToolbox header analyser.
    

## Troubleshooting

### MxToolbox does not find my SPF

The change may not have taken effect yet. Also check that your domain does not have two SPF records.

### DKIM is reported as invalid

Check that the key was copied in full, with no added space, and that the name exactly matches the host name provided.

## Related articles

-   [How do I set up SPF, DKIM and DMARC at OVH for Sarbacane Engage?](https://help.sarbacane.com/en/articles/479.md)
    
-   [How do I connect a Gandi address to Sarbacane Engage?](https://help.sarbacane.com/en/articles/257.md)
    
-   [How do I customise my tracking domain in Sarbacane Engage?](https://help.sarbacane.com/en/articles/241.md)
