A recent increase of spammer registrations using subdomains (e.g. email@example.com) led to the development of a simple modification to the bad domains check to block all subdomains for specified domains. This subdomain email address activity was identified by reviewing nukeSPAM™ log. Instead of individually blocking all (virtually unlimited) variations of subdomains after constantly reviewing the log, it would be much easier to enable blocking of all subdomains.
Here's how it works:
Instead of specifying a block domain (e.g. blockeddomain.com), specify *. in front of the blocked domain in the RNYA configuration Blocked Mail Domains.
Some examples (including domains found to be using subdomains):
*.mail.ru blocks any mail.ru address, whether or not it includes a subdomain.
But be careful, though:
*.ru blocks any .ru address, i.e. it is also now possible to block registration by TLD, which may be desired for some sites.
Read more to get the code, and put your comments over at RavenPHPScripts here. Read More...