Handling DKIM, SPF, and DMARC Records
DKIM records
DKIM (DomainKeys Identified Mail) is an email security standard designed to make sure messages aren’t altered in transit between the sending and recipient servers. If a DKIM record is added to a domain, it increases the deliverability of emails.
Sending mail directly
If your application sends mail directly, you can simply add a DKIM record to your configuration object as a TXT record (see Installation), e.g.:
Sending mail through a 3rd party
If your application sends email using a 3rd party service configured by your customer (e.g. Google Workspace, Zoho Mail, or Microsoft 365), your Entri account manager can enable a DKIM prompt that walks your customers through setting up DKIM using those services.
Once DKIM is enabled for your application, the Entri modal will detect what email provider a domain uses (Entri supports Google Workspace, Microsoft 365, Zoho Mail).
Depending on the provider, Entri will show instructions for how to set up DKIM after the other types of records have been added. If Entri detects that DKIM has already been set up, we will skip this step.
For example:
Entri UI for Assisting Google Workspace customers with DKIM setup
SPF records
Important When providing Entri the SPF record using the script found on the Installing Entri page, the record type must be identified as TXT.
When providing Entri the desired SPF record, please include the full SPF record. For example:
If the user has an existing SPF record, Entri will automatically append the new SPF record inside the users existing SPF record. For example:
Record sent to Entri:
Existing record:
Updated Record:
Important
If Entri compares the existing record with the record from the end-user and there’s a conflict with the appendix (~all vs -all) then we will use ~all by default. ~all is recommended as it minimizes SPF errors.
DMARC records
To set up DMARC records for your users, include a TXT record with _dmarc
as the host value in your configuration object (see Installation), e.g.
Optional: Check for existing DMARC record
If you want to check if your user has a valid DMARC record already set, and if so, not update it, you can set the validateDmarc
property to true
in your config
.
Need Advanced DMARC handling? Check out our DMARC Handling: Advanced Options section!