# Mailgun“因高退信率暂时禁用”

**URL:** <https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811>\
**Category:** Support\
**Created:** [2018年五月31日 06:54 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811 "2018-05-31T06:54:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
**Post date:** [2018年五月31日 06:54 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/1 "2018-05-31T06:54:47Z")

</div>

I moved my mail system Sparkpost to Mailgun. I love it but today a mail came to me.

“[mail.site.com](http://mail.site.com) has been temporarily disabled due to high bounce rate”

 ![51](https://global.discourse-cdn.com/meta/original/3X/1/7/17a1847937c4750ea35accc033b70b00ca4493e4.png)

> Your account is on probation and domains are limited to 100 messages / hour. To maintain the rate the account has been temporarily disabled.
> 
> The account will be enabled in 6983 seconds.
> 
> Thank you,  
> Mailgun Team

I use Mailgun for just Discourse. How can i fix that?

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cameron_d/32/97535_2.png) [@Cameron\_D](https://meta.discourse.org/u/Cameron_D)\
**Post date:** [2018年五月31日 07:00 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/2 "2018-05-31T07:00:16Z")

</div>

I’d start by looking through your MailGun error/bounce logs and determining what message/s are getting sent to invalid recipients, and why (perhaps being rejected due to spam filtering? Maybe?).

---

<div class="post-metadata">

**Author:** ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
**Post date:** [2018年五月31日 07:46 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/3 "2018-05-31T07:46:16Z")

</div>

I look at the logs. Digest mails is problem for 300mail / 1 hour limit. And so many fake user and user mail in there.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2018年五月31日 08:05 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/4 "2018-05-31T08:05:51Z")

</div>

> [@bekircem](#):
>
> And so many fake user and user mail in there.

How do you have users with fake emails? How did they sign up for Discourse, which requires email confirmation to create an account?

---

<div class="post-metadata">

**Author:** ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
**Post date:** [2018年五月31日 08:09 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/5 "2018-05-31T08:09:39Z")

</div>

I have 10k users. But i have imported from Mybb. So i think there are so many fake emails.

I need bulk remove users i think. And ideas for that? I create topic about that:

[https://meta.discourse.org/t/how-to-bulk-remove-users/88813](https://meta.discourse.org/t/how-to-bulk-remove-users/88813)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2018年五月31日 08:12 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/6 "2018-05-31T08:12:55Z")

</div>

Simply deactivate those with invalid email addresses. Easy.

---

<div class="post-metadata">

**Author:** ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
**Post date:** [2018年五月31日 08:15 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/7 "2018-05-31T08:15:11Z")

</div>

> [@codinghorror](#):
>
> Simply deactivate those with invalid email addresses

Will I do it one by one? There are many users like that. Total users count: 10k+ Fake mail users count: 2-3k i think.

(These users imported from old forum system so all activated)

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cameron_d/32/97535_2.png) [@Cameron\_D](https://meta.discourse.org/u/Cameron_D)\
**Post date:** [2018年五月31日 08:16 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/8 "2018-05-31T08:16:25Z")

</div>

And set up Discourse to handle the bounces from Mailgun so it’ll stop sending them in the first place.

> [@Configure VERP to handle bouncing e-mails](https://meta.discourse.org/t/handling-bouncing-e-mails/45343):
>
> Setting up bounces handling Discourse uses the [Variable envelope return path (VERP)](https://en.wikipedia.org/wiki/Variable_envelope_return_path) technique to handle bouncing e-mails. To enable VERP, set the “reply by email address” site setting with an email address template that uses the + sign. The default of replies+%{reply\_key}@discourse.example.com … works fine. If you are using your own or your company’s email server, then, that’s it tada Your discourse instance must be able to receive email sent to this address. This should work via POP, bu…

---

<div class="post-metadata">

**Author:** ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
**Post date:** [2018年五月31日 09:02 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/9 "2018-05-31T09:02:15Z")

</div>

I Thank you. I do that after deactive users with SQL query.

I need SQL query now.

---

<div class="post-metadata">

**Author:** ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
**Post date:** [2018年六月1日 11:56 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/10 "2018-06-01T11:56:53Z")

</div>

I deactivated all users who has fake mails but Mailgun support wants some information about my mail content. I gave detailed information but their supports very slow. After 24 hours still no answer and Discourse mail system doesn’t work right now. It might be good to return to SparkPost again

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2020年十二月2日 08:20 UTC](https://meta.discourse.org/t/mailgun-temporarily-disabled-due-to-high-bounce-rate/88811/11 "2020-12-02T08:20:07Z")

</div>


