Saltar al contenido

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

preguntada hace 2 años242 visualizaciones
2 Respuestas
0
Respuesta aceptada

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
EXPERTO
respondido hace 2 años
EXPERTO
revisado hace 2 años
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.

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.