跳至内容

SPF if Amazon SES is used as relayhost

0

We operate several EC2 instances with changing public IPv4 addresses (instances are launched on demand). These instances use Amazon SES as their "relayhost" (postfix configuration). This all works perfectly fine with SMTP SASL auth and the email sender domain is a verified identity in SES. SES also adds DKIM records to all outgoing mails.

Assuming these EC2 instances are the only hosts generating emails using a specific sender domain, how should the SPF record of that domain look like? Is the following sufficient or do I have to also add the hosts as the servers that generate the emails?

v=spf1 include:amazonses.com -all

已提问 2 年前240 查看次数
2 回答
0
已接受的回答

Since EC2 are using SES SMTP interface to send mail, specifying amazonses.com is sufficient as per documentation

I noticed you have implemented DKIM and SPF. If you have not, I suggest you implement DMARC as well.

As I understand, Yahoo and Gmail are mandating DMARC for mails beginning Feb 2024.

AWS
专家
已回答 2 年前
专家
已审核 2 年前
0

Perfect answer and perfect reference to the documentation 👍 I must have missed that. Thanks @Mike_L.

Yes, we want to go all the way including BIMI. This includes SPF, DKIM and DMARC but I got stuck at SPF 🙈 Thanks for your clarification.

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。