# התראה על כמות מופרזת של מיילים חוזרים

**URL:** https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941
**Category:** Feature
**Created:** [23 בנובמבר,‏ 2021,‏ 2:19am UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941 "2021-11-23T02:19:53Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [23 בנובמבר,‏ 2021,‏ 2:19am UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941/1 "2021-11-23T02:19:53Z")

</div>

Bounced emails happen and that’s normal in a community, but sometimes there can be a deeper issue at play that can lead to outgoing emails bouncing on a large scale. It would be a good idea to have an admin dashboard/PM alert for this so that the issue doesn’t go unnoticed.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [23 בנובמבר,‏ 2021,‏ 6:29am UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941/3 "2021-11-23T06:29:21Z")

</div>

I have a community that’s apparently abandoned and I think the mailgun account is canceled or unpaid. It would be good if there was a way to notice it. It looks like discourse just stopped trying to send mail months ago.

---

<div class="post-metadata">

### Author: ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)
#### Post date: [13 בדצמבר,‏ 2022,‏ 11:50am UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941/4 "2022-12-13T11:50:52Z")

</div>

+1 for this feature. For exact same reasons @pfaffman mentions. If managing many Discourse instances for customers, especially where the customer has their own SMTP service and may have forgotten to pay for it, it would be good if the instance didn’t stop emailing completely and ‘fail silently’.

---

<div class="post-metadata">

### Author: ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)
#### Post date: [27 בינואר,‏ 2024,‏ 4:05pm UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941/5 "2024-01-27T16:05:08Z")

</div>

I also second this feature. It would be nice to know which emails are now dropped and why (soft bounce, hard bounce etc). Maybe a notification to the admin or something in the logs to check.

I’m trying to hard to figure out if email which bounce have been blocked by discourse or not?

For example if I see this in the logs

> Email can not be processed: Email::Receiver::BouncedEmailError

How do I know if discourse will continue sending or no longer send emails to that address?

---

<div class="post-metadata">

### Author: ![anon36555649](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@anon36555649](https://meta.discourse.org/u/anon36555649)
#### Post date: [27 בינואר,‏ 2024,‏ 7:15pm UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941/6 "2024-01-27T19:15:17Z")

</div>

There is an admin notification if e-mail is revoked, here is one from soundtransit notification e-mail sender which may have been automatic since they are only sending out mail not processing incoming mail:

 ![Screen Shot 2024-01-27 at 11.17.08 AM](https://global.discourse-cdn.com/meta/original/4X/d/e/6/de6ef46074bd6d096ad588b817549db0f2d191e1.png)

---

<div class="post-metadata">

### Author: ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)
#### Post date: [30 בינואר,‏ 2024,‏ 6:16pm UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941/7 "2024-01-30T18:16:57Z")

</div>

Interesting. I don’t see any revoked email notifications. However in the logs and the email inbox I see many bounced emails. So the question is two fold:

1. How do I know if discourse if properly parsing a bounced email response? I ask because the _Bounced_ emails admin panel NO bounced emails but clearly there are bounced emails in the _Received_ email section of the panel.
2. When does discourse decided that bounced emails are nolonger valid emails it should stop emailing them?

---

<div class="post-metadata">

### Author: ![anon36555649](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@anon36555649](https://meta.discourse.org/u/anon36555649)
#### Post date: [30 בינואר,‏ 2024,‏ 7:14pm UTC](https://meta.discourse.org/t/alerting-when-there-is-an-excessive-number-of-bounced-emails/209941/8 "2024-01-30T19:14:13Z")

</div>

Well that would depend on a few things, firstly if e-mail is:

#1 Simply being returned as undeliverable.

OR

#2 The intended target of the mail has received the mail, but sent a reply requiring sending be stopped (as in demand a cease/desist of sending mail), that is different and might be what happened here with Sound Transit they might have an automatic system that does that or they may have manually requested un-subscription from notification e-mails which shouldn’t be sent to them anyway.
