From: Bob A. <apt...@cy...> - 2004-09-05 01:25:14
|
Hi, I just finished building a perl module to pass arbitrary text to SpamAssassin to determine the spamminess of the content. More than a list of bad words and domains or set of regular expressions, it leverages the content and network tests of SpamAssassin, especially the SURBL domain blacklist (www.surbl.org) The code is documented and slightly tested. See http://www.cynistar.net/~apthorpe/code/babycart/ especially Blog-SpamAssassin-1.3.tar.gz and wordpress-spam-moderator.tgz (PHP code that integrates Blog::SpamAssassin into Wordpress) The blog integration code is straightforward, setting a moderation flag on posts that exceed SpamAssassin's score threshold. While the code is designed to integrated with Wordpress, it should be simple to incorporate in PhpWiki as well to cut down on sandbox spam, etc. You should be comfortable installing perl modules (not necessarily in the system tree); SpamAssassin knowledge is a plus but not mandatory. hth, -- Bob Apthorpe |