Configure SPF

Learning to Configure SPF for Amazon SES

configure spf
DMARC Report
Learning to Configure SPF for Amazon SES
Loading
/

If you send emails from Amazon SES and see the ‘Via amazonses.com’ warning, then you need to set up SPF and DKIM. This warning basically indicates that the mailbox provider perceived that your emails were sent from Amazon SES and not your brand.

This blog guides you on setting SPF for Amazon SES so that there are no compliance issues and your business stays protected from the growing phishing and spoofing attacks.

However, please bear in mind that if you send emails from subdomain.amazonses.com, there is no need to set up SPF. In this case, Amazon takes care of email authentication using SPF and DKIM. If you want to set up DMARC for your domain, please contact with DMARCReport.com.

Step 1: Domain Verification With Amazon SES

email authentication

It’s a simple 6-step process. Here’s what you need to do-

  1. Log in to the AWS Management Console.
  2. Go to the Amazon SES interface.
  3. In the navigation panel, select ‘Domains’ under ‘Identity Management.’
  4. Click ‘Verify a New Domain.’
  5. Enter your domain name and click ‘Verify this Domain.’
  6. Add the provided TXT record to your DNS configuration to verify the domain.

Step 2: DNS Record Configuration

After you are done verifying your domain, add an SPF record to your domain’s DNS settings. Follow these steps and get this done-

  1. Log in to your DNS provider’s management console.
  2. Go to the DNS management section.
  3. Add a new TXT record with:
  • type: TXT
  • Name: @ (or your domain name, depending on the DNS provider)
  • Value: “v=spf1 include:amazonses.com ~all”
dns record configuration

Step 3: Confirmation of the SPF Record

Check your domain’s DNS settings to ensure your SPF record has no configurational and syntactical errors. 

  1. Use an SPF lookup tool like MXToolbox.
  2. Enter your domain name.
  3. Check the SPF record to ensure it includes ‘include.com.’

Step 4: Test Sending Emails

Finally, test sending emails from your domain using Amazon SES. Send a test email from an application or the SES console. Then, check the email headers of the received email for ‘Received-SPF: pass’ to ensure that SPF passes.

Setting up the MAIL FROM Domain

  1. Go to your Amazon SES console and select ‘Domains’ under ‘Identity Management.’
  2. Confirm that the parent domain of the MAIL FROM domain is in the list of validated domains.
  3. Select the MAIL FROM domain.
  4. In the ‘Set MAIL FROM Domain’ window, enter the subdomain you want to use.
  5. A new window will display the SPF and MX records for your domain’s DNS setup.

The following table demonstrates the format of these records-

NameTypeValue
subdomain.domain.commx10 feedback-smtp.region.amazonses.com
subdomain.domain.comtxtv=spf1 include:amazonses.com -all
  1. Lastly, publish an MX record in the DNS server of the unique MAIL FROM domain.
dns server

Image sourced from fastercapital.com

Final Words

SPF ensures that only authorized people send emails as representatives of your brand. This minimizes the chances for threat actors to exploit your email-sending domain to send fraudulent emails posing as one of your representatives.

If you use Amazon SES to send marketing, notification, and transactional emails, then the above guide will surely help you. However, we know how this process can be a bit complex to understand. So, if you feel like having a helping hand by your side, reach out to us!

Similar Posts