BSD Ports

mail/bsfilter 1.0.20 DragonFly

Bayesian spam filter written in Ruby

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
mail, ruby
Package size
30.3 KiB, 134.9 KiB installed

Description

bsfilter is a spam filter using Bayesian(statistical) algorithm.

  • a filter which distinguishes spam and non-spam mail
  • support mails written in English and Japanese language
  • written in Ruby
  • support 3 methods for access -- traditional Unix-style filter. study and judge local files or pipe -- IMAP. study and judge mails in an IMAP server. IMAP over SSL supported -- POP proxy. run between POP server and MUA. POP over SSL supported
  • distributed under GPL

In the other systems

SystemPortVersion
DragonFlymail/bsfilter1.0.20
FreeBSDmail/bsfilter1.0.20_1

Install

Binary package:

pkg install bsfilter

From DPorts:

cd /usr/dports/mail/bsfilter && make install clean

Dependencies

Run dependencies 3
Required by 1

Configuration

No options to configure.

Service scripts
none

Message after installing

Before actually using it, it is necessary to prepare a word database.

1. The word contained in clean mail is counted.

  $ bsfilter --add-clean ~/Maildir/cur/*

 or

  $ cd ~/Maildir/cur/ ; ls | xargs bsfilter -c

2. The word in spam is counted.

  $ bsfilter --add-spam ~/Maildir/.spam/cur/*

 or

  $ cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s

3. A database is updated for every word.

  $ bsfilter -u