How can I check if an email address is associated with spam?

7,680

Solution 1

There is no easy way to check. The best thing you can do is use CAPTCHA to verify that it is a real human registering.

You could also keep your own list of not allowed emails for any users that are abusing your site. You could then ban those emails from being used to register / login on your site.

Solution 2

One way is to set your own spam filter. I assume you've received many of them. So, look for common patterns and set the filter rules.

Solution 3

The problem is email addresses are easily obtainable -- are you willing to deny access to all gmail, hotmail, yahoo, etc domains (and even if you were, that's not at all a tenable solution)?

If you'll let us know what you are specifically trying to accomplish we can help /w a solution to your problem.

Solution 4

If you intend to send email to the addresses people have signed up with (e.g. church newsletters, etc.), I strongly recommend using a "Confirmed Opt-In"/"Closed Loop Confirmation" approach to prevent malicious users from signing up addresses that don't belong to them.

One way to do it is to send a single confirmation email as part of the signup process, asking them to click a link back to your site to confirm that they wish to receive email from you, and explaining that no further email will be sent if they don't confirm. The link should be difficult to guess, otherwise the bad guys will be able to confirm the signup without ever seeing the confirmation email.

When the link gets visited, you enable the account. If they don't confirm within a reasonable amount of time, silently deactivate the account -- don't pester them with reminders!

Solution 5

I found that Akismet is really useful for more then just comment spam. The comment-check method accepts a parameter of comment_type which is documented as:

May be blank, comment, trackback, pingback, or a made up value like "registration".

You'll have to tie this into your code, but it might be worth it.

Share:
7,680

Related videos on Youtube

Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin almost 2 years

    Does anyone know a way to check if an email address is associated with spam sites? I'm looking to add a check prior to allowing someone to register on my church's website. Apparently my church is a target for bad guys.

    Thanks

    • thankyoussd
      thankyoussd almost 15 years
      You realize spammers do not use their own email addresses, right?
    • Mohamed
      Mohamed almost 15 years
      and that they create dozens of free emails each day.
    • Samuel Jaeschke
      Samuel Jaeschke almost 15 years
      Are you looking for a blacklist?
    • DmitryK
      DmitryK almost 15 years
      What can someone do if he/she registers on your website? Think from the perspective of what you are trying to prevent.
  • thankyoussd
    thankyoussd almost 15 years
    -1 This is a non-answer and should be comment.
  • mwalling
    mwalling almost 15 years
    commenting down here because thats the only place i have enough rep to, but how did this get kicked off SO? isnt it a question about how to outsmart the spammers and skript kiddies like stackoverflow.com/questions/450835/… is?