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 07:15 CET
Urks, i should have been doing the upgrade yesterday, full mailbox again :)
chregu @ 13.06.2005 07:17 CET
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 07:58 CET
All rejected, none went through :)
No new comments allowed (anymore) on this post.