Preventing users from using throwaway email addresses

A recent client asked us to help prevent members in her online community from using email addresses from throwaway email address providers, and it turned out that we’d already done this before in another project we’ve been working on in our spare time. How convenient! We simply exported the ‘access’ table and imported it into the new project’s database and we were good to go.

Assuming that you don’t already have any access rules set up in Drupal already, drop the ‘access’ table in your database and import the attached access.txt file to replace it. It will automatically configure your site to block more than 90 disposable email address providers such as BugMeNot, Mailinator, Spamgourmet and MailBucket. Afterwards, be sure to increment your ‘sequences’ table to the same number of new access rules.

If you already have access rules set up, change all the aid (access ID) values in the access.txt file attached here so that they don’t conflict with your rules that are already in your ‘access’ table.

Attachment Size
access.txt 5.18 KB