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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南