More spam checking... (with XBL)

Since a few days, spam comments are coming in again (they stopped for some weeks for me..). All are catched currently by our spamfilter, but nevertheless I added an additional check against XBL. Until now with good results (no false positive, a few false negatives, but the other tests still catched them, so no spam comments slipped through). Will further observe it and then add it also to the stable branch.

Update: I further improved it, so that it also works on hosts, where a DNS request always returns something. (Net_DNSBL expects an NXDOMAIN, if it's not in the blacklist...)

2nd Update: run http://domain.com/admin/webinc/update/ if you update now. We have a new field called "comment_rejectreason", which is needed in the blog admin. Because the reject reason is now also shown in the blog overview. I plan to remove the "send mail comment", if the comment is rejected (but not when moderated), so we need an overview, why some comments were rejected.

Comments (3)  Permalink

Comments

alain @ 13.06.2005 08:15 CEST
Urks, i should have been doing the upgrade yesterday, full mailbox again :)
chregu @ 13.06.2005 08:17 CEST
Full mailbox of accepted or rejected spam?

'cause even with the new code, you'll get an email for rejected spam. I'm thinking about improving that ;)
Alain @ 13.06.2005 08:58 CEST
All rejected, none went through :)

add a comment

This blog is gravatar enabled.
Your email adress will never be published.
Comment spam will be deleted!

Name*
E-Mail
For Spammers Only
URL
Comment*
Notify me via E-Mail when new comments are made to this entry
Remember me (needs cookies)