Spam Update
After I installed Kitten’s Spaminator, not a single spam comment has gone through. Several normal comments have been posted with no problems.
I’ve set Spaminator to send email to me for every spam killed, so if it accidentally kills a legal comment, I could repost it. I soon learned that this approach has one problem: I need to go through all the emails by hand and sometimes this is quite daunting task.
Spaminator sets the following subject for all mails:
[Blogname] Spaminator: Spammer caught!
I fixed the PHP code to include other information to make it easier to delete all repeating messages:
[Blogname: SPAM] sender <email> URL
For example:
[Nomadig: SPAM] Mr Foo Bar <foo@example.com> http://www.example.com/
This is accomplished by changing the value of variable $to on line 146 to following:
$to = '[' . get_settings('blogname') . ': SPAM]' .
$this->post['author'] . ' <' . $this->post['email'] . '>, ' .
$this->post['url'];
1. Brian Arnold — Tuesday, Dec 21 2004
I made a similar hack myself. However, I just went for the email address. I do like your additions though. I also put in extra check into the 1.0rc2 for HTML entities in the author. It’s an awesome plugin, and I’m glad to see I’m not the only person making minor hacks of it. ;)
2. Janne — Tuesday, Dec 21 2004
Brian, sounds like a good idea. Do you have the source code available somewhere for taking a look?