mail/bogofilter - The NetBSD Packages Collection

Bayesian spam filter written in C

Bogofilter is a mail filter that classifies mail as spam or ham
(non-spam) by a statistical analysis of the message's header and
content (body).  It is able to learn from the user's classifications
and corrections.

The statistical technique is known as the Bayesian technique and
its use for spam was first described by Paul Graham in his article
A Plan For Spam.  Gary Robinson, in his weblog Rants, suggests some
refinements for improved discrimination between spam and ham.
Bogofilter's primary algorithm uses the f(w) parameter and the
Fisher inverse chi-square technique that he describes.

Bogofilter is run by an MDA script to classify an incoming message
as spam or ham (using wordlists stored by BerkeleyDB).  Bogofilter
provides processing for plain text and HTML.  It supports multi-part
mime message with decoding of base64, quoted-printable, and
uuencoded text and ignores attachments, such as images.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/perl5 databases/db4 math/gsl math/gsl

Binary packages

NetBSD 10.0aarch64bogofilter-1.2.4nb25.tgz
NetBSD 10.0aarch64bogofilter-1.2.4nb26.tgz
NetBSD 10.0earmv6hfbogofilter-1.2.4nb25.tgz
NetBSD 10.0earmv6hfbogofilter-1.2.4nb26.tgz
NetBSD 10.0earmv7hfbogofilter-1.2.4nb25.tgz
NetBSD 10.0earmv7hfbogofilter-1.2.4nb26.tgz
NetBSD 10.0i386bogofilter-1.2.4nb25.tgz
NetBSD 10.0powerpcbogofilter-1.2.4nb25.tgz
NetBSD 10.0powerpcbogofilter-1.2.4nb25.tgz
NetBSD 10.0x86_64bogofilter-1.2.4nb26.tgz
NetBSD 10.0x86_64bogofilter-1.2.4nb25.tgz
NetBSD 8.0earmv7hfbogofilter-1.2.4nb22.tgz
NetBSD 8.0i386bogofilter-1.2.4nb24.tgz
NetBSD 8.0i386bogofilter-1.2.4nb25.tgz
NetBSD 8.0powerpcbogofilter-1.2.4nb23.tgz
NetBSD 8.0powerpcbogofilter-1.2.4nb25.tgz
NetBSD 8.0powerpcbogofilter-1.2.4nb25.tgz
NetBSD 8.0x86_64bogofilter-1.2.4nb24.tgz
NetBSD 8.0x86_64bogofilter-1.2.4nb25.tgz
NetBSD 9.0aarch64bogofilter-1.2.4nb25.tgz
NetBSD 9.0aarch64bogofilter-1.2.4nb24.tgz
NetBSD 9.0aarch64bogofilter-1.2.4nb26.tgz
NetBSD 9.0alphabogofilter-1.2.4nb23.tgz
NetBSD 9.0alphabogofilter-1.2.4nb23.tgz
NetBSD 9.0alphabogofilter-1.2.4nb24.tgz
NetBSD 9.0alphabogofilter-1.2.4nb25.tgz
NetBSD 9.0alphabogofilter-1.2.4nb26.tgz
NetBSD 9.0earmbogofilter-1.2.4nb23.tgz
NetBSD 9.0earmbogofilter-1.2.4nb23.tgz
NetBSD 9.0earmbogofilter-1.2.4nb24.tgz
NetBSD 9.0earmbogofilter-1.2.4nb25.tgz
NetBSD 9.0earmv6hfbogofilter-1.2.4nb25.tgz
NetBSD 9.0earmv6hfbogofilter-1.2.4nb26.tgz
NetBSD 9.0earmv7hfbogofilter-1.2.4nb25.tgz
NetBSD 9.0earmv7hfbogofilter-1.2.4nb26.tgz
NetBSD 9.0i386bogofilter-1.2.4nb24.tgz
NetBSD 9.0i386bogofilter-1.2.4nb24.tgz
NetBSD 9.0i386bogofilter-1.2.4nb25.tgz
NetBSD 9.0m68kbogofilter-1.2.4nb25.tgz
NetBSD 9.0mips64ebbogofilter-1.2.4nb23.tgz
NetBSD 9.0mips64ebbogofilter-1.2.4nb23.tgz
NetBSD 9.0mips64ebbogofilter-1.2.4nb25.tgz
NetBSD 9.0powerpcbogofilter-1.2.4nb25.tgz
NetBSD 9.0powerpcbogofilter-1.2.4nb24.tgz
NetBSD 9.0sparc64bogofilter-1.2.4nb23.tgz
NetBSD 9.0sparc64bogofilter-1.2.4nb23.tgz
NetBSD 9.0sparc64bogofilter-1.2.4nb24.tgz
NetBSD 9.0sparc64bogofilter-1.2.4nb25.tgz
NetBSD 9.0sparc64bogofilter-1.2.4nb26.tgz
NetBSD 9.0x86_64bogofilter-1.2.4nb25.tgz
NetBSD 9.0x86_64bogofilter-1.2.4nb24.tgz
NetBSD 9.0x86_64bogofilter-1.2.4nb24.tgz
NetBSD 9.0x86_64bogofilter-1.2.4nb25.tgz
NetBSD 9.0x86_64bogofilter-1.2.4nb25.tgz
NetBSD 9.99.96aarch64ebbogofilter-1.2.4nb23.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

Enable Berkeley DB support.
Enable qdbm support.
Enable SQLite support.
Enable Tokyo Cabinet support.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.