Mailgun "temporarily disabled due to high bounce rate"

AI-generated summary

The user bekircem migrated their email system from Sparkpost to Mailgun but encountered a temporary disablement due to a high bounce rate. Mailgun’s system flagged the account as being on probation and limited to 100 messages per hour, with the account set to re-enable in 6983 seconds. The issue stems from a large number of invalid email addresses, particularly from users imported from an old MyBB forum, many of which are fake or inactive. codinghorror questions how fake emails could exist given Discourse’s email confirmation requirement, to which bekircem explains the import process led to many invalid accounts. Cameron_D suggests reviewing bounce logs and setting up Discourse to handle bounces properly, referencing a guide on managing bouncing emails. bekircem plans to deactivate invalid users, but notes the manual process is impractical given the scale (2-3k fake users out of 10k+). bekircem requests an SQL query to automate deactivation. Despite deactivating users and providing detailed information to Mailgun support, the response has been delayed, leaving the email system non-functional. bekircem considers reverting to SparkPost as a potential solution.

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

“mail.site.com has been temporarily disabled due to high bounce rate”

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?

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?).

I look at the logs. Digest mails is problem for 300mail / 1 hour limit. 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?

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

Simply deactivate those with invalid email addresses. Easy.

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)

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

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

I need SQL query now.

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