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

ScreenedEmail.levenshtein('q.kzkfkzkwlsh1@gmail.com', 'qk.zkfkzkwlsh1@gmail.com')
=> 2
ScreenedEmail.levenshtein('q.kzkfkzkwlsh1@gmail.com', 'qkzkfkzkwls.h1@gmail.com')
=> 2
ScreenedEmail.levenshtein('q.kzkfkzkwlsh1@gmail.com', 'qkzkfkzkwlsh1@gmail.com')
=> 1

There doesn’t appear to be any TL-related limitations on skipping the blocking, however it only checks the most recent 100 screened emails; if some scuzzbucket is creating lots of accounts with different e-mails, and occasionally coming back to using another e-mail address in the pattern, you might end up with them not being caught.

4 לייקים