Chris Dzombak

Blocking disposable email domains in Mastodon

Mastodon yesterday experienced a small wave of spam. One thing we’re doing in response at a2mi.social, 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 a2mi.social’s blocklist from the disposable-email-domains GitHub repo.