# \`levenshtein distance spammer emails\` should flag accounts that are similar even if no accounts have been marked as spammers yet

**URL:** <https://meta.discourse.org/t/levenshtein-distance-spammer-emails-should-flag-accounts-that-are-similar-even-if-no-accounts-have-been-marked-as-spammers-yet/49858>\
**Category:** Feature\
**Created:** [7 בספטמבר,‏ 2016,‏ 10:10pm UTC](https://meta.discourse.org/t/levenshtein-distance-spammer-emails-should-flag-accounts-that-are-similar-even-if-no-accounts-have-been-marked-as-spammers-yet/49858 "2016-09-07T22:10:57Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [8 בספטמבר,‏ 2016,‏ 8:15pm UTC](https://meta.discourse.org/t/levenshtein-distance-spammer-emails-should-flag-accounts-that-are-similar-even-if-no-accounts-have-been-marked-as-spammers-yet/49858/30 "2016-09-08T20:15:22Z")

</div>

Oh, I misunderstood your point. So to clarify @jomaxro here’s how it works.

1. At the time of new account creation
2. Check the last 100 screened (blocked) email addresses in the block list
3. Is the current new user’s email address within 2 characters levenshtein distance of the last 100 screened email addresses?
4. If it is, block signup by that new user

I think the reason you saw this as “not working” is because _none_ of these addresses were blocked **at the time the users signed up.**

You guys were cleaning up after the fact only.

---

_[View the full topic](https://meta.discourse.org/t/levenshtein-distance-spammer-emails-should-flag-accounts-that-are-similar-even-if-no-accounts-have-been-marked-as-spammers-yet/49858)._
