macOS
brew install bogofilterlocal Homebrew formula metadata
sudo port install bogofilterMacPorts ports tree · mail/bogofilter/Portfile · 来源: api.github.com
安装
brew install bogofilterlocal Homebrew formula metadata
sudo port install bogofilterMacPorts ports tree · mail/bogofilter/Portfile · 来源: api.github.com
sudo apk add bogofilterAlpine Linux edge package indexes · bogofilter · 来源: dl-cdn.alpinelinux.org
sudo apt install bogofilterDebian stable package indexes · bogofilter · 来源: deb.debian.org
sudo dnf install bogofilterFedora Rawhide package metadata · bogofilter · 来源: dl.fedoraproject.org
nix profile install nixpkgs#bogofilternixpkgs package indexes · pkgs/by-name/bo/bogofilter/package.nix · 来源: api.github.com
sudo pacman -S bogofilter-dbArch Linux sync databases · bogofilter-db · 来源: geo.mirror.pkgbuild.com
sudo zypper install bogofilter-dbopenSUSE Tumbleweed package metadata · bogofilter-db · 来源: download.opensuse.org
概览
Mail filter via statistical analysis
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/bogofilter.cf~/.bogofilter.cf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bf_compact | cli | 全局可执行文件 | |
bf_copy | cli | 全局可执行文件 | |
bf_tar | cli | 全局可执行文件 | |
bogofilter | cli | 全局可执行文件 | |
bogolexer | cli | 全局可执行文件 | |
bogotune | cli | 全局可执行文件 | |
bogoupgrade | cli | 全局可执行文件 | |
bogoutil | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://bogofilter.sourceforge.io
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bogofilter |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
bogofilter 1.2.5-1+b4
fast Bayesian spam filter (meta package)
http://bogofilter.sourceforge.net/
sudo apt install bogofilterbogofilter-bdb 1.2.5-1+b4
fast Bayesian spam filter (Berkeley DB)
http://bogofilter.sourceforge.net/
sudo apt install bogofilter-bdbbogofilter-common 1.2.5-1+b4
fast Bayesian spam filter (common files)
http://bogofilter.sourceforge.net/
sudo apt install bogofilter-commonbogofilter-sqlite 1.2.5-1+b4
fast Bayesian spam filter (sqlite)
http://bogofilter.sourceforge.net/
sudo apt install bogofilter-sqlitebogofilter-tokyocabinet 1.2.5-1+b4
fast Bayesian spam filter (tokyocabinet)
http://bogofilter.sourceforge.net/
sudo apt install bogofilter-tokyocabinetbogofilter
nix profile install nixpkgs#bogofilterbogofilter 1.2.5-1build4
fast Bayesian spam filter (meta package)
http://bogofilter.sourceforge.net/
sudo apt install bogofilterbogofilter-bdb 1.2.5-1build4
fast Bayesian spam filter (Berkeley DB)
http://bogofilter.sourceforge.net/
sudo apt install bogofilter-bdbbogofilter-common 1.2.5-1build4
fast Bayesian spam filter (common files)
http://bogofilter.sourceforge.net/
sudo apt install bogofilter-commonbogofilter-sqlite 1.2.5-1build4
fast Bayesian spam filter (sqlite)
http://bogofilter.sourceforge.net/
sudo apt install bogofilter-sqlitebogofilter 1.2.5-r4
Fast Bayesian spam filter
https://bogofilter.sourceforge.io/
sudo apk add bogofilterbogofilter-doc 1.2.5-r4
Fast Bayesian spam filter (documentation)
https://bogofilter.sourceforge.io/
sudo apk add bogofilter-docbogofilter 1.2.5-22.fc44
Fast anti-spam filtering by Bayesian statistical analysis
http://bogofilter.sourceforge.net/
sudo dnf install bogofilterbogofilter-bogoupgrade 1.2.5-22.fc44
Upgrades bogofilter database to current version
http://bogofilter.sourceforge.net/
sudo dnf install bogofilter-bogoupgradebogofilter-db 1.2.5-12
A fast Bayesian spam filtering tool - Berkeley DB v5.3 backend
https://bogofilter.sourceforge.io/
sudo pacman -S bogofilter-dbbogofilter-kyotocabinet 1.2.5-12
A fast Bayesian spam filtering tool - Kyotocabinet DB backend
https://bogofilter.sourceforge.io/
sudo pacman -S bogofilter-kyotocabinet来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.