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 等域名与公开列表中的类似域名进行了匹配,但这更多是基于直觉,而非有数据支持。

审核您的注册信息,并手动添加您看到输入的任何服务。这就是我的建议。