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.
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.
Open the DNS records
In your Gandi dashboard, click Domains, then your domain.
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:
In the top right, click Add.
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).
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
Click Add.
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.
Click Create.
Set up DMARC
Click Add.
In the type field, choose TXT. In the name field, enter _dmarc. In the text field, enter v=DMARC1; p=none; rua=mailto:[email protected], replacing the address with yours.
Click Create.
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.
The change may not have taken effect yet. Also check that your domain does not have two SPF records.
Check that the key was copied in full, with no added space, and that the name exactly matches the host name provided.