This article covers the SPF and DKIM authentication processes for Mailgun by Sinch and how they are managed in Valimail Enforce. While only one of the two authentication methods is required for an email to pass DMARC, our recommendation is to configure both whenever possible.
TABLE OF CONTENTS
- Configuring DKIM authentication for your Mailgun emails
- Add a Mailgun DKIM key in Enforce
- Configuring SPF authentication for your Mailgun emails
Configuring DKIM authentication for your Mailgun emails
1. Login to your Mailgun account.
2. Go to the Domains tab
3. Add your domain in the Domain name box.
4. Choose your DKIM key length. Longer keys equal more protection from spammers, so we recommend you to chose the 2048 option.
5. On the domain settings page, you will find the DKIM records generated for your domain in the Domain Verification & DNS section.
6. Copy the DKIM record key value provided - then you need to go and add this DKIM keys in Valimail Enforce.
7. After you publish the Mailgun DKIM key in Valimail Enforce, log back into your Mailgun account, and check for a verified status (a green verification badge) against your domain name to confirm that your domain has been verified and set up with DKIM email authentication.
Add a Mailgun DKIM key in Enforce
1. Go to your domain's Configuration page in Valimail Enforce and publish the newly created DKIM key.
You can find the instructions on how to set up DKIM in Mailgun here.
Configuring SPF authentication for your Mailgun emails
We encourage you to use the comment section for any useful information about your sending service, such as the name of the service owner, change request ticket numbers, etc.
As always, if you have any questions, please don't hesitate to submit a ticket.