February 8, 2012

Banning specific email registrations with wildcards

One way to stop spam blog signups is to ban their email address. This can be done in the Site Admin -> Options menu. Scroll down until you find the “Ban email registrations” box. Now if you’ve run a WPMU setup for any length of time, you may already have noticed that once you put a domain in that field, like spamsite1.info, another two or twenty show up to the party.

Initially in my testing, placing *.info didn’t work. So I filed a trac ticket, and Donncha kinda explained the correct usage. To use, place /.*\.info/ in there to block ALL signups from ANY domain ending in .info.

Please remember to use with care, so you don’t accidentally block potential users. :) (Like anyone with a .com address, for instance.)

Get 3 for the price of 2 in the Network Home Bundle

Includes 3 ebooks with plugins -
Network Home Pages: aggregate global content, set up sitewide tags, create a huge tags cloud like the one seen on WordPress.com, global footers and menus, setting defaults & more
Custom Registration: sign up on sub sites, multilingual signup pages, stop spam blogs
WP Curator: pick and choose posts from sub sites to feature on the main home page of your network

Network Home Pages, Custom Registration & WP Curator – $35.90 for all three. Purchase

Comments

  1. jecson says:

    may already have noticed that once you put a domain in that field

  2. Danny says:

    Banning .info s would take them all out. There are some legit ones out there as well though i agree. info’s are the spammers favorite.

  3. evan says:

    Spam does seem to be getting worse and worse these days. I agree that .infos are a spammer favourite but I know that there are many legit .info sites out there. Akismet works ok for my blog.

  4. Marc Graves says:

    Thanks for tip. Is there a downside to using Akismet or other spam blocker as opposed to using the wildcard method?

  5. stilgar says:

    This seems to be broken in 3.0, seems like it filters out anything other than something@something.tld

    • Ron says:

      Don’t include the something@. It bans email addresses from the domains you enter not email addresses that you enter.

Trackbacks

  1. [...] bookmarks tagged email Banning specific email registrations with wildcard… saved by 5 others     loneshortty bookmarked on 07/23/08 | [...]