BSD Ports

mail/bsfilter 1.0.20_1 FreeBSD

Bayesian spam filter written in Ruby

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
mail, ruby
Package size
32.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
FreeBSDmail/bsfilter1.0.20_1
DragonFlymail/bsfilter1.0.20

Install

Binary package:

pkg install bsfilter

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bsfilter>0:mail/bsfilter

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.20_11.0.20_11.0.19_31.0.201.0.20_1
FreeBSD:14:quarterly1.0.20_11.0.20_1n/a1.0.201.0.20_1
FreeBSD:15:latest1.0.20_11.0.20_1n/a1.0.201.0.20
FreeBSD:15:quarterly1.0.20_11.0.20_1n/an/an/a
FreeBSD:16:latest1.0.20_11.0.20_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 5
Run dependencies 13

Configuration

Options name: mail_bsfilter

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
USES
ruby shebangfix
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

Files

pkg-plist 16
  • bin/bsfilter
  • share/examples/bsfilter/bsfilter.conf.sample
  • share/examples/bsfilter/dot-qmail.sample
  • share/examples/bsfilter/mda/maildrop/mailfilter.header
  • share/examples/bsfilter/mda/procmail/procmailrc.black_gray
  • share/examples/bsfilter/mda/procmail/procmailrc.header
  • share/examples/bsfilter/mda/procmail/procmailrc.status
  • share/examples/bsfilter/mua/mew3/bs_clean
  • share/examples/bsfilter/mua/mew3/bs_mark
  • share/examples/bsfilter/mua/mew3/bs_spam
  • share/examples/bsfilter/mua/mew3/mew.el
  • share/examples/bsfilter/mua/mew4/emacs.el
  • share/examples/bsfilter/mua/mew4/mew.el
  • share/examples/bsfilter/mua/mew5/mew.el
  • share/examples/bsfilter/mua/mew6/mew.el
  • share/examples/bsfilter/mua/mew6.4/mew.el
distinfo 1
FileSizeSHA256
nbkenichi-bsfilter-v1.0.20_GH0.tar.gz7800510fb704f3528f3a81ed350c42d0980d9104ed11b366d85a5795fbbc6e04b91db

Commit history 0

No commits in the history this site was built from.