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.

2 Answers 2


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

I think what you are looking for can be achieved with the "user restrictions" module.

But the "http:BL" module could also be interesting for you!

you should check them out! ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.