BSD Ports

Deprecated: This port will be renamed to bogofilter at some point, see UPDATING

Expires: 2026-12-31

mail/bogofilter-lmdb1 1.3.0.r1_1 FreeBSD

Fast, teachable, learning spam detector (LMDB 1.0 database)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
edee11f3ad
License
GPLv2+
Categories
mail
Package size
337.6 KiB, 1501.2 KiB installed

Description

Bogofilter is a trainable email spam detector.

Bogofilter takes an email message or other text on standard input, parses it into words, does a statistical check against databases of "good" and "bad" words, and returns a status code indicating whether or not the message is spam. Bogofilter decodes base64 or quoted-printable encoded texts and ignores non-text attachments and HTML comments.

The supported database backends are LMDB, Kyoto Cabinet and SQLite3. The upstream version would theoretically also support QDBM and Tokyo Cabinet, but these are not currently available as FreeBSD ports. Berkeley DB support is being phased out.

In the other systems

The newest version among them is 1.3.0.r1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDmail/bogofilter-lmdb11.3.0.r1_1 newestnone knownDeprecated[email protected]2026-07-24
GhostBSDmail/bogofilter-lmdb11.3.0.r1_1 newestno data-[email protected]-

Install

Binary package:

pkg install bogofilter-lmdb1

From the ports tree:

cd /usr/ports/mail/bogofilter-lmdb1/ && make install clean

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

RUN_DEPENDS=	bogofilter-lmdb1>0:mail/bogofilter-lmdb1

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.3.0.r1_11.3.0.r1_1--1.3.0.r1_1
FreeBSD:14:quarterly1.3.0.r1_11.3.0.r1_1n/a-1.3.0.r1_1
FreeBSD:15:latest1.3.0.r1_11.3.0.r1_1n/a--
FreeBSD:15:quarterly1.3.0.r1_11.3.0.r1_1n/an/an/a
FreeBSD:16:latest1.3.0.r1_11.3.0.r1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Library 1

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

Build dependencies 3
Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Conflicts with
bogofilter bogofilter-kc bogofilter-sqlite

Message after installing

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

This port will be renamed to bogofilter at some point, see UPDATING.

It is scheduled to be removed on or after 2026-12-31.

Files

No file lists for this port.

Commit history 2

DateCommitCreditsLog message
edee11f3ad Matthias Andree mail/bogofilter*: fix unaligned access on some databases
This was found with the undefined behavior sanitizer, and affects the generic code (independent of the concrete database back-end in use) so we need to bump all PORTREVISIONS. The bug was that internal code was casting a void * to a uint32_t * without ensuring alignment of the source value. Let's use memcpy to a statically-sized array and let the optimizer handle it for us. Adds files/patch-src_datastore.c. PR: 297024 MFH: 2026Q3
9d0203aad0 Matthias Andree mail/bogofilter*: Prepare LMDB 1.0 transition
Here's what we do now: - mail/bogofilter currently depends on lmdb0, a 0.9.X port, so it continues to work as before - add a new mail/bogofilter-lmdb1 port that depends on lmdb, the 1.0 version of the LMDB database. - add the upstream patch for bogofilter 1.3.0.rc1 that I made and that delphij@ prepared for integration into the ports tree - thanks! Here's the plan for end of 2026: - AT THE SAME TIME: - upgrade mail/bogofilter to depend on LMDB 1.0 - portrm mail/bogofilter-lmdb1 - add a MOVED entry to redirect from bogofilter-lmdb1 to bogofilter. While here, clean up and rearrange the Makefiles. PR: 296519 Reviewed by: arrowd Pull Request: https://github.com/freebsd/freebsd-ports/pull/551