I'm a missionary in Japan. The name of my mission agency is WEC International. That's supposedly Worldwide Evangelisation for Christ, but I think I have a better idea about what it stands for...
2005-09-28
SpamMonkey considered "Good Enough"
So a few days ago I finished the first plugin for SpamMonkey,
SpamMonkey::Test::check_uridnsbl. SpamAssassin people
already know what that does - looks up URIs in a message in a DNS blacklist.
This is basically what I wanted to stop comment spam on the blog.
And as of now, SpamMonkey is doing what I intended it to do - it's a SpamAssassin clone which can filter other types of spam, such as comment spam. It's in operation now on this very Bryar blog. The code to make it connect to Bryar was very simple:
use SpamMonkey;
my $sm = SpamMonkey->new;
$sm->ready();
my $res = $sm->test($params{content});
if ($res->is_spam) {
$self->report_error("I think you're a spammer, because your comment: ".
join("\n", $res->describe_hits));
}
That should deal with the spammers... for the moment.
| « | 2005-09 | » | ||||
|---|---|---|---|---|---|---|
| S | M | T | W | T | F | S |
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | |
lathos: Heading down to Oookayama. The おおお joke never gets old.





