1

When we are sending emails using Amazon SES from the application, recipients of the email are seeing warning messages like below:

Email example

I have tried to find possible things that we can do to avoid recipients seeing warning message like this but I was not able to find enough information.

Any kind of help is much appreciated.

1
  • Peregrino69 's Answer is correct. For more in-depth background, you might want to see also this answer: superuser.com/a/1461830/714576
    – 1NN
    Commented Sep 23, 2021 at 11:24

1 Answer 1

2

With quick googling it appears setting up SPF and DKIM should resolve it.


When you first set up Amazon SES to send emails, you may find there is a "Via amazonses.com" warning for the email in the recipient's mailbox. This warning means you haven't authorized Amazon SES to deliver emails for you, so the mailbox provider considers that sent from Amazon SES instead of your brand.

To authorize Amazon SES to send emails for you, you need to set up SPF and DKIM for Amazon SES. This is a process also known as email domain authentication. Setting up SPF and DKIM for Amazon SES has 2 benefits:

  • your emails are more likely to reach the inbox
  • the "Via amazonses.com" warning is removed, and your emails are perceived as coming from your brand, instead of Amazon SES. This boosts user engagement, as the user is more likely to open the email.

How to set up SPF and DKIM for Amazon SES:

1. Set up SPF

There are two possible scenarios here.

One is that you use a subdomain.amazonses.com as the MAIL FROM domain to deliver the emails; the other is that you use your own domain to deliver them. These two scenarios are handled differently.

In the first scenario where you use subdomain.amazonses.com as the MAIL FROM domain, since Amazon has already published an SPF record on amazonses.com, all emails sent via that domain pass the SPF check by default. Therefore, you don't need to set up anything in this scenario. It will just work.

In the second scenario where you use your own domain as the MAIL FROM domain, you need to create a new SPF record or update your existing SPF record on that domain.

If you have no SPF record on your domain, simply publish the following SPF record on it:

v=spf1 include:amazonses.com -all

if you already have an SPF record, simply insert include:amazonses.com right before the terminating mechanism in that record.

For example, if your current SPF record looks like this:

v=spf1 a -all

update it to:

v=spf1 a include:amazonses.com -all

2. Set up DKIM

Amazon SES provides two options to set up DKIM: set up an identity (domain or email address) so that Amazon SES adds a DKIM signature to every message sent using that identity; or provide your own key pair for DKIM authentication.

For further information please see Amazon's instructions at Authenticating Email with DKIM in Amazon SES.


Source: https://dmarcly.com/blog/zh-CN/how-to-set-up-spf-and-dkim-for-amazon-ses

1
  • @1NN You are, of course, correct. I'm just now working on it so that it formats nicely on SU :-) Commented Sep 23, 2021 at 11:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .