How do I add a huge list of throwaway email providers to the email blacklist without using a browser?

here’s a list of throwaway email providers to block using the “email domains blacklist” feature:

http://pastebin.com/raw/A8VmXUe3

i converted to tab delimitation for pasting into the discourse admin area but there are a little over 1,500 so chrome throws this error a few times and then crashes:


the blacklist is from this github with 26 contributors: disposable-email-domains/index.json at master · ivolo/disposable-email-domains · GitHub and was most recently updated 2 days ago.

for the email blacklist to be effective it needs to contain a lot of entries.

The guys at www.mogelmail.de maintain a huge list of fake email providers and also provide an API (and a csv export IIRC).

Maybe there is some way to regularly import this automatically into Discourse?

This feature would be great to have!

Can probably do it via the API.

Seems ripe for a plugin. :wink: Throw a bounty on it in marketplace?

Does this work on current Discourse @j.jaffeux?

No we still can’t mass import settings though the UI, I can work on it if you want. The solution would also solve the re-ordering through drag/drop problematic.

The specific case listed does make sense, when you have a site setting that may need 100+ entries. Not a high priority though.

Would be great if the email blacklist feature also prevented existing accounts with these emails from being able to keep posting.

Would also be really great if there was an easy option from the user panel to bulk delete user accounts (and their content) that already have accounts created with email domains on the blacklist. This way, moderators would be able to make such actions without SSH access and custom queries.

Я попытался добавить список запрещённых доменов с разделителем-вертикальной чертой из указанного выше источника, но это всё ещё приводит к зависанию моего ПК.

Я считаю, что это крайне важно для большинства сообществ с открытой регистрацией.

Существует ли какое-либо обходное решение для добавления тысяч доменов в чёрный список?

Возможно, проверка этих доменов (например, периодический запрос обновлений из какого-либо публичного репозитория) должна стать базовой настройкой для Discourse?

Я думаю, что большинство сообществ прекрасно обходятся Akismet и другими встроенными инструментами для борьбы со спамом, чтобы выявлять подозрительных пользователей, и им не нужен такой список.

Если вы хотите иметь возможность, например, загружать чёрный список доменов электронной почты из внешнего источника, вам понадобится плагин.

Временное решение — отфильтровать топ-100 :wink:

Может кто-нибудь поделиться списком из 100 самых популярных/злоупотребляющих сервисов/доменов одноразовой электронной почты?

Большинство статей в интернете перечисляют максимум ~20, повторяя хорошо известные, но эти сервисы также используют скрытые/менее известные (альтернативные) домены.

Я сопоставил mailinator.com и подобные с похожими доменами из публичных списков, но это основано на интуиции, а не на данных.

Проверьте свои регистрации и вручную добавьте любые сервисы, которые вы там видите. Это то, что я бы порекомендовал.