How can I log all emails sent from AWS SES?

0

I am using AWS SES to send emails from my domain, but I recently noticed that some emails are being sent from my domains that are not by me. I suspect that my account has been compromised and I want to log all emails sent from SES to investigate further. However, I also need to ensure that the log includes the content of each email, including the subject and body. How can I enable logging for all emails sent from my SES account so that I can track down the source of these unauthorized emails and examine their content? I would prefer logging to Cloudwatch or an S3 bucket.

2 回答
1
已接受的回答

Hi,

I would look into configuration set https://docs.aws.amazon.com/ses/latest/dg/using-configuration-sets.html where you can send various data related to emails to a kinesis data firehose, which then can send data to s3.

You also can send data to cloudwatch as pointed out below: https://docs.aws.amazon.com/ses/latest/dg/monitor-sending-using-event-publishing-setup.html

Hope it helps ;)

profile picture
专家
已回答 1 年前
1

Output to S3 using Kinesis Data Firehose
The following blog is in Japanese, but contains example settings
https://zenn.dev/isseeeeey55/articles/61b350c27e1040

profile picture
专家
已回答 1 年前
  • Thanks, this is very helpful.

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

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

回答问题的准则