Banning specific email registrations with wildcards

Posted by Andrea under how to

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.)

4 Responses to “Banning specific email registrations with wildcards”

  1. Pages tagged "email" Says:

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

  2. jecson Says:

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

  3. 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.

  4. 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.

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image



google.load("language", "1"); var curstate = 0; var hasloaded = 0; function bnc_show_translated() { if (hasloaded == 0) { bnc_lang_callback(); hasloaded = 1; } for (i = 0; i < 4; i++) { var elem = $("bnc_original_" + i); if (elem) { if (curstate) { elem.show(); } else { elem.hide(); } } } for (i = 0; i < 4; i++) { var elem = $("bnc_trans_" + i); if (elem) { if (curstate) { elem.hide(); } else { elem.show(); } } } if (curstate) { $("bnc_trans_state1").show(); $("bnc_trans_state2").hide(); curstate = 0; } else { $("bnc_trans_state1").hide(); $("bnc_trans_state2").show(); curstate = 1; } } function bnc_detect_div(div_id) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; if (text.length > 0) { google.language.detect(text, function(result) { if (!result.error) { if (result.language != "en") { if (result.confidence > 0.25) { $("bnc_translating").show(); bnc_xlate_div(result.language, div_id, "en"); } } } } ); } } } function bnc_xlate_div(src_lang,div_id,o_lang) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; google.language.translate(text, src_lang, o_lang, function(result) { var translated = document.getElementById(div_id); if (result.translation) { translated.innerHTML = result.translation; } }); } } function bnc_lang_callback() { bnc_xlate_div("en", "bnc_lang_i_0_107", "en"); bnc_xlate_div("en", "bnc_lang_i_1_107", "en"); bnc_xlate_div("en", "bnc_lang_i_2_107", "en"); bnc_xlate_div("en", "bnc_lang_i_3_107", "en"); } function bnc_startup() { bnc_xlate_div("en", "bnc_translate_info", "en"); bnc_xlate_div("en", "bnc_translate_info2", "en"); bnc_detect_div("bnc_lang_i_0_107");bnc_detect_div("bnc_lang_i_1_107");bnc_detect_div("bnc_lang_i_2_107");bnc_detect_div("bnc_lang_i_3_107"); } google.setOnLoadCallback(bnc_startup);
Close
E-mail It
This blog has been fine-tuned with 13 WordPress Tweaks.