Antispam hack
May 2nd, 2007This blog is getting big. How I know? Because I’ve been starting to get spam pretty quickly. I already have comment confirmation turned on for all comments, so you as a visitor is guaranteed not to see any spam here. However, my inbox is getting flooded by confirmations spam comments, which is annoying, especially because it can make me miss some actual user comments.
So I made a quick’n'dirty hack that filters away some common spam-words and sends the result right into /dev/null, without even sending me a confirmation. To see the list, enter something spam-like, for example viagra, and you will see the list. Using this system, I won’t have a clue how many hits are being filtered away, on the other hand, I don’t care about that. If everything turns out well, I might be able to turn off global comment confirmation.
However, I’m worried that some words will make it filter too much. I’d like to have comments on that, please. (Enter for example viagra into any field and press Submit comment to see the list)
May 2nd, 2007 at 6:55 pm
I’m ok with Akismet. It’s caught for me over 8000 spam comments in 8 months.
May 2nd, 2007 at 6:57 pm
Oh yeah Akismet… But I’m too lazy to get an API key.