Antispam hack

May 2nd, 2007

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

2 Responses to “Antispam hack”

  1. ale/pepino says:

    I’m ok with Akismet. It’s caught for me over 8000 spam comments in 8 months.

  2. nitro2k01 says:

    Oh yeah Akismet… But I’m too lazy to get an API key.

Leave a Reply

If you'd rather contact me directly, please use the following e-mail address: It appears that you have Javascript disabled. Please enable it to see my e-mail address.