Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
380 views
in Plugins by
I forgot to activate anti-spam plugins and in 3 weeks, I have > 5000 spammers. I realize that most of them use emails other than Gmail, Yahoo, Hotmail or iCloud/Apple mails. They tend to use a bunch of spam domains.

So, how do I whitelist @gmail.com, icloud.com, @abcd.edu in my Q2A site while banning all other emails?
by
Allowing only whitelisted domains for registration would be counter-productive, since you would basically force your potential users to use particular email providers. To my knowledge there is no plugin that would implement this. The common approach is to blacklist known spammer domains.
by
I'm using a whitelist as it certainly controls spam well.
by
True. But whitelisting produces far too many false positives for my taste. YMMV.
by
Yes. But we can use wildcard too. I'm 90% happy with it :)

1 Answer

+1 vote
by
You have to develop validation on your email feeding section. If users do not belong to a list of domains defined by you then you can restrict. It can be done through validation coding.
...