Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 bogofilter

查看 bogofilter 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bogofilter

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install bogofilter

MacPorts ports tree · mail/bogofilter/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add bogofilter

Alpine Linux edge package indexes · bogofilter · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install bogofilter

Debian stable package indexes · bogofilter · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install bogofilter

Fedora Rawhide package metadata · bogofilter · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#bogofilter

nixpkgs package indexes · pkgs/by-name/bo/bogofilter/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S bogofilter-db

Arch Linux sync databases · bogofilter-db · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install bogofilter-db

openSUSE Tumbleweed package metadata · bogofilter-db · 来源: download.opensuse.org

概览

软件包摘要

Mail filter via statistical analysis

命令和别名

  • bf_compact
  • bf_copy
  • bf_tar
  • bogofilter
  • bogolexer
  • bogotune
  • bogoupgrade
  • bogoutil

历史

项目历史与用法

Bogofilter is a fast C-based Bayesian mail filter that classifies messages as spam or ham by statistical analysis of message headers and body text.

项目历史

Bogofilter appeared during the early-2000s wave of Bayesian spam filtering. Its official home page credits Eric S. Raymond with the initial version and says that, since 2002, David Relson, Matthias Andree, Greg Louis, and other open source volunteers brought it to maturity.

The project explicitly roots its statistical approach in Paul Graham's 2002 article on Bayesian spam filtering and Gary Robinson's refinements, including the Fisher inverse chi-square technique. The man page describes further practical engineering: MIME decoding, HTML parsing, token handling for hosts and IP addresses, and production-oriented database lookups.

The release history shows a long maintenance arc from the 1.2.x line into 1.3.0 release candidates. Recent entries include the 2019 Git repository conversion, maintenance after David Relson's death, C99 cleanup, SQLite3 driver work, and the 2025 decision to make SQLite3 the default database driver.

采用历史

Bogofilter was adopted by Unix mail users who wanted a local, trainable spam classifier that could plug into delivery agents and desktop mail clients. The official home page names KMail, Evolution, Claws Mail, maildrop, and procmail-style integration as usage surfaces.

Its package reach is broad for a mail-filtering utility: the input package facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE packaging. That distribution spread reflects how Bayesian filtering became normal infrastructure for local mail setups before hosted mail spam filtering took over much of the mainstream market.

使用方式

Common usage is pipeline-oriented: feed a message to `bogofilter`, inspect its spam, ham, or unsure result, and train it with known spam and non-spam examples. Companion tools such as `bogoutil`, `bogotune`, `bogolexer`, and database copy/compact helpers support training, tuning, inspection, and migration.

The man page emphasizes script-friendly behavior, including terse modes, passthrough headers, bulk processing, explicit registration as spam or non-spam, and configuration options for wordlists and database directories.

为什么软件包爱好者会关心

Bogofilter is package-nerd significant because it captures a specific era of open source mail culture: local Unix mail delivery, procmail/maildrop recipes, Berkeley DB wordlists, and statistical filtering that users trained themselves.

It is also an example of a mature C utility where packaging choices matter. Database backend support, Unicode and MIME handling, config-file defaults, and migration tooling all directly affect whether an upgrade preserves a user's trained corpus.

时间线

  • 2002: Initial Bogofilter work by Eric S. Raymond is followed by maturation by David Relson, Matthias Andree, Greg Louis, and volunteers.
  • 2003: Paul Graham's later Bayesian filtering work and Gary Robinson's refinements are reflected in Bogofilter's documented algorithmic approach.
  • 2013: Matthias Andree becomes maintainer after David Relson's long maintainership.
  • 2019: The source repository is converted to Git; Bogofilter 1.2.5 is released.
  • 2024: 1.3.0 beta work resumes with Unicode, lexer, and corruption fixes.
  • 2025: 1.3.0 release candidates make SQLite3 the default database driver.

Related projects

  • Related projects include SpamAssassin, DSPAM, CRM114, procmail, maildrop, KMail, Evolution, and Claws Mail. Bogofilter occupies the small, fast, user-trained filter niche rather than the rule-heavy network-scored niche associated with SpamAssassin.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/bogofilter.cf~/.bogofilter.cf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bf_compactcli全局可执行文件
bf_copycli全局可执行文件
bf_tarcli全局可执行文件
bogofiltercli全局可执行文件
bogolexercli全局可执行文件
bogotunecli全局可执行文件
bogoupgradecli全局可执行文件
bogoutilcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.2.5
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://bogofilter.sourceforge.io

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://bogofilter.sourceforge.ionone 置信度

安装元数据

软件包元数据

软件包键brew:bogofilter
版本1.2.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bogofilter
主页https://bogofilter.sourceforge.io
仓库https://gitlab.com/bogofilter/bogofilter
上游文档https://bogofilter.sourceforge.io/
许可证GPL-2.0-or-later AND GPL-3.0-or-later
源码归档https://downloads.sourceforge.net/project/bogofilter/bogofilter-stable/bogofilter-1.2.5.tar.xz
macOS 提供的库sqlite
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebogofilter
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

bogofilter 1.2.5-1+b4

fast Bayesian spam filter (meta package)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter
  • Section: mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 3 依赖
  • normalized package name match
  • 匹配方式:Bogofilter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bogofilter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bogofilter-bdb 1.2.5-1+b4

fast Bayesian spam filter (Berkeley DB)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter-bdb
  • Section: mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 4 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bogofilter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bogofilter-bdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bogofilter-common 1.2.5-1+b4

fast Bayesian spam filter (common files)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter-common
  • Section: mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bogofilter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bogofilter-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bogofilter-sqlite 1.2.5-1+b4

fast Bayesian spam filter (sqlite)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter-sqlite
  • Section: mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bogofilter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bogofilter-sqlite from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bogofilter-tokyocabinet 1.2.5-1+b4

fast Bayesian spam filter (tokyocabinet)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter-tokyocabinet
  • Section: mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bogofilter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bogofilter-tokyocabinet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bogofilter

nix profile install nixpkgs#bogofilter
  • normalized package name match
  • 匹配方式:Bogofilter
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bo/bogofilter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bogofilter 1.2.5-1build4

fast Bayesian spam filter (meta package)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter
  • Section: universe/mail
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Bogofilter
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bogofilter from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

bogofilter-bdb 1.2.5-1build4

fast Bayesian spam filter (Berkeley DB)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter-bdb
  • Section: universe/mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 4 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bogofilter
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bogofilter-bdb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

bogofilter-common 1.2.5-1build4

fast Bayesian spam filter (common files)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter-common
  • Section: universe/mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bogofilter
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bogofilter-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

bogofilter-sqlite 1.2.5-1build4

fast Bayesian spam filter (sqlite)

http://bogofilter.sourceforge.net/

sudo apt install bogofilter-sqlite
  • Section: universe/mail
  • Architecture: amd64
  • Source Package: bogofilter
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bogofilter
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bogofilter-sqlite from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

bogofilter 1.2.5-r4

Fast Bayesian spam filter

https://bogofilter.sourceforge.io/

sudo apk add bogofilter
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bogofilter
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bogofilter
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bogofilter from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

bogofilter-doc 1.2.5-r4

Fast Bayesian spam filter (documentation)

https://bogofilter.sourceforge.io/

sudo apk add bogofilter-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bogofilter
  • normalized package name match
  • 匹配方式:Bogofilter
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bogofilter-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

bogofilter 1.2.5-22.fc44

Fast anti-spam filtering by Bayesian statistical analysis

http://bogofilter.sourceforge.net/

sudo dnf install bogofilter
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bogofilter
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Bogofilter
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bogofilter from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bogofilter-bogoupgrade 1.2.5-22.fc44

Upgrades bogofilter database to current version

http://bogofilter.sourceforge.net/

sudo dnf install bogofilter-bogoupgrade
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bogofilter
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bogofilter
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bogofilter-bogoupgrade from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

bogofilter-db 1.2.5-12

A fast Bayesian spam filtering tool - Berkeley DB v5.3 backend

https://bogofilter.sourceforge.io/

sudo pacman -S bogofilter-db
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bogofilter
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bogofilter-db from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
pacman95%

bogofilter-kyotocabinet 1.2.5-12

A fast Bayesian spam filtering tool - Kyotocabinet DB backend

https://bogofilter.sourceforge.io/

sudo pacman -S bogofilter-kyotocabinet
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 5 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bogofilter
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bogofilter-kyotocabinet from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment