After Gmail outage, how to bulk reset bounce scores?

Gmail was down for a few hours and our forum’s emails to affected users were bouncing. Consequently we now have about 200 Gmail users with bounce scores over the limit. I’ve manually reset the bounce scores for two users, and email is now being delivered to them with no issues, so I think it’s safe to reset all Gmail users’ bounce scores.

Can anyone suggest a command to do that, presumably from the rails console? It doesn’t need to target only Gmail users- I’m happy to reset all bounce scores.

3 Likes

You can just raise the limit in Settings or use this setting:

reset bounce score after days

4 Likes

Hey @Mark_Schmucker

Before making changes, you might also check via the rails console:

UserStat.where("bounce_score > 0").count

HTH

5 Likes

This is also easy via the Rails console, if you really want to do that after completing your analysis, @Mark_Schmucker

UserStat.update(bounce_score:0.0)

You can change your settings, or just reset manually if that pleases you.

7 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.