AmazonSES DKIM signature not inserted with SendRawEmail

北城余情 提交于 2019-12-11 12:38:45

问题


I've been using SES to send emails via the normal SendEmail API command, and the DKIM signature has been working fine.

Now I want to send an attachment, so I started using SendRawEmail API and the DKIM signture is not being inserted into the mail headers. This causes GMail to display the ugly via amazonses.com warning:

I verified this by looking at the mail source with gmail's Show Original.

I found this same question on Amazon's forum. But it doesn't actually answer the question. It does say that once DKIM is enabled, it should work for both SendEmail and SendRawEmail.

So why isn't AmazonSES inserting the DKIM header for the raw email API?

(I'm actually using the ruby SDK, so it's send_email and send_raw_email, but it shouldn't matter.)


回答1:


For me, I had DKIM setup and enabled in the AWS SES console for my Domains. This domain-level DKIM had worked fine for SendEmail.

However, I had to enable DKIM for each sending email address under Email Addresses to enable DKIM on SendRawEmail.

Hope this helps someone else!



来源:https://stackoverflow.com/questions/28883840/amazonses-dkim-signature-not-inserted-with-sendrawemail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!