bsfilter - Bayesian spam filter written in Ruby
||FreeBSD Ports Latest amd64
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
- EXAMPLES: on
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/*
$ cd ~/Maildir/cur/ ; ls | xargs bsfilter -c
2. The word in spam is counted.
$ bsfilter --add-spam ~/Maildir/.spam/cur/*
$ cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s
3. A database is updated for every word.
$ bsfilter -u
The bsfilter port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
More information about port maintainership is available at:
Install bsfilter txz package:
# pkg install bsfilter