# Amazon SES/SNS 邮件投诉未收到，退回信息缺失

**URL:** <https://meta.discourse.org/t/amazon-ses-sns-email-complaints-not-received-bounces-missing-information/239247>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [2022年九月16日 23:59 UTC](https://meta.discourse.org/t/amazon-ses-sns-email-complaints-not-received-bounces-missing-information/239247 "2022-09-16T23:59:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ipoopfool](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@ipoopfool](https://meta.discourse.org/u/ipoopfool)\
**Post date:** [2022年九月19日 03:47 UTC](https://meta.discourse.org/t/amazon-ses-sns-email-complaints-not-received-bounces-missing-information/239247/4 "2022-09-19T03:47:56Z")

</div>

我目前正在为退回的邮件执行此操作作为手动解决方法。但我仍然希望为 SES 中的退回和反弹找出“正确”的解决方案。

* * *

SES 默认也不报告投诉邮件。请按照这些说明将其连接到 CloudWatch 以收集更多信息。[How to Log Amazon SES details using Amazon CloudWatch | AWS Messaging Blog](https://aws.amazon.com/blogs/messaging-and-targeting/how-to-log-amazon-ses-details-using-amazon-cloudwatch/) （我必须手动更新包含的模板以使用更新版本的 Python 才能使其正常工作）

假设您选择了此选项，这将为投诉邮件创建一个 CloudWatch \> Logs \> Log groups 项目。您可以看到已发送电子邮件的列表，并深入了解确切的电子邮件地址。

然后，您可以使用 CloudWatch \> Log Insights 查询数据以获得更简单的摘要。

- 确保将时间跨度设置为您想要查看的时间。这会在每次页面加载时重置。
- 我已将以下查询保存以备将来使用。您可以在右侧栏 \> queries \> saved queries 中找到它。但它有点难看到。如果需要，请按 Ctrl+F。

```plaintext
fields complaint.complainedRecipients.0.emailAddress as email
| limit 500
| stats count(*) as count by email
| sort count desc

```

---

_[View the full topic](https://meta.discourse.org/t/amazon-ses-sns-email-complaints-not-received-bounces-missing-information/239247)._
