SPF Setup for Mailgun

The Sender Policy Framework (SPF) is an email authentication system that detects forged sender addresses while the email is being delivered. SPF, on the other hand, is confined to detecting a forged sender claim in the email’s envelope, which is used when it bounces.

To set up SPF on your Mailgun account, follow these steps :

  • Login to your DNS console and go to Advanced DNS settings to add or modify an SPF record
  • You can either add a new SPF record or modify the existing one. To modify a record, follow these steps :
    1. In your pre-existing SPF record, add include:mailgun.org. If your record looked something like v=spf1 include:spf.google.com ~all, after modification, it should look like
      v=spf1 include:spf.zoho.com include:mailgun.org ~all.
    2. Save changes.
  • To add a new record altogether, follow these steps:
  1. Enter the values as shown below:
    Name: Enter @ or leave it empty.
    TTL: Enter 3600 or default
    Value:v=spf1 include:mailgun.org ~all \
  2. Now, save changes and wait for 24-48 hours for your DNS to apply the records.

You can now verify your records using our free SPF checker tool.

 

Comments are closed.

Google & Yahoo’s new bulk email sender requirements coming live on February 1, 2024. Are you ready?

X