How to disallow some emails in Drupal 7? Some temporary emails are frequently used by human spammers and I want to disallow them either from registration or posting.

I know that there is a similar question here but that one is for D6 and did not work for me. I'd like to do that in D7. Appreciate your help.
Use the User Restrictions module. This module allows you to block both emails and usernames based on certain patterns.

For example, to block mails from spammers.com create a user restriction with:


Access type: Denied
Rule type: Email
Mask: %spammers.com