Chris Dzombak

Blocking disposable email domains in Mastodon

Mastodon yesterday experienced a small wave of spam. One thing we’re doing in response at, as recommended by this summary of the incident, is improving how we block disposable email providers.

I wrote the following Bash script, inspired by this one. Run periodically via cron, it updates’s blocklist from the disposable-email-domains GitHub repo.