# 使用 Homebrew 安装 mail-deduplicate

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

## 安装

```sh
sudo av install brew:mail-deduplicate
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mail-deduplicate
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mail-deduplicate
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mail-deduplicate>
- **版本:** 9.1.0
- **来源摘要:** CLI to deduplicate mails from mail boxes
- **主页:** <https://kdeldycke.github.io/mail-deduplicate/>
- **仓库:** <https://github.com/kdeldycke/mail-deduplicate>
- **上游文档:** <https://kdeldycke.github.io/mail-deduplicate/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://files.pythonhosted.org/packages/97/76/ad61fa37b65047cffbf8196ebf6379e41afbf09304ffa760eda2b6ebda97/mail_deduplicate-9.1.0.tar.gz>
- **最后更新:** 2026-08-02T15:55:05Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mdedup (cli)
- mdedup (别名)

## 依赖

- certifi
- libyaml
- python@3.14

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 9.1.0
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://kdeldycke.github.io/mail-deduplicate/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Mail Deduplicate provides the `mdedup` CLI for finding and acting on duplicate messages across mailbox formats. Official docs describe support for mbox, maildir, babyl, mh, and mmdf, with duplicate detection based on normalized mail headers plus configurable safeguards.

### 项目历史

The GitHub repository was created in March 2013 by Kevin Deldycke. The project presents itself as a maintained Python command-line utility rather than a mail-client plugin: it reads mailboxes, hashes normalized headers and optionally body content, groups duplicates, applies a selection strategy, and then copies, moves, or deletes selected messages.

Its later documentation shows a mature packaging setup around the `mdedup` executable: cross-platform Python support, Homebrew installation, shell completion, standalone executables for Linux, macOS, and Windows, and a documented TOML configuration system.

### 采用历史

The official documentation states that `mdedup` is part of Homebrew's default tap, and the README badges point users to PyPI versioning and download statistics. The input package-manager facts confirm Homebrew packaging.

Repository metadata shows a smaller but durable utility audience, with active updates into 2026 and almost two hundred GitHub stars. That adoption pattern fits a focused maintenance tool: not a mass-market app, but a packaged command that users reach for when mailbox archives need cleanup.

### 使用方式

Typical usage starts with `uvx --from mail-deduplicate -- mdedup`, `brew install mail-deduplicate`, or a standalone binary. Users point the command at mailbox sources, choose deduplication strategies such as size, content, timestamp, path, or random choice, and run a dry run before moving or deleting duplicates.

The docs are unusually explicit about tradeoffs: the implementation keeps data in memory and is considered naive but adequate for mailbox volumes of a few gigabytes. For package users, that warning is important operational documentation, because it tells them when the simple CLI is enough and when very large archives need caution.

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

Mail Deduplicate is a good example of a niche CLI becoming package-manager-worthy by handling old mailbox formats and modern packaging expectations at once. It does not try to be a mail client; it is a scriptable maintenance tool with predictable inputs, dry-run support, and standalone builds.

The package is also interesting because its core duplicate logic is documented rather than hidden: the project explains why Message-ID alone is insufficient, how mailing lists perturb headers and bodies, and why size/content safeguards are needed before deleting mail.

### 时间线

- 2013: Public GitHub repository created.
- 2020: Historical GitHub releases were published for v2 through v5 series.
- 2023: v7.x releases continue the maintained CLI line.
- 2024: Documentation shows Homebrew default-tap installation and standalone executables.
- 2025: v8.x releases published.
- 2026: Repository metadata shows active maintenance.

### Related projects

- Mail Deduplicate belongs to the mailbox-maintenance family of tools around mbox, maildir, mh, babyl, and mmdf formats.
- Its design references common mail infrastructure behavior such as mailing-list footers, Message-ID unreliability, and MTA-added headers.

### 来源

- <https://api.github.com/repos/kdeldycke/mail-deduplicate>
- <https://api.github.com/repos/kdeldycke/mail-deduplicate/releases>
- <https://github.com/kdeldycke/mail-deduplicate>
- <https://kdeldycke.github.io/mail-deduplicate>
- <https://kdeldycke.github.io/mail-deduplicate/configuration.html>
- <https://kdeldycke.github.io/mail-deduplicate/design.html>
- source_facts.package-manager


## 安全说明

没有找到 mail-deduplicate 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- macOS: ~/Library/Application Support/mdedup/
- Unix: ~/.config/mdedup/
- Windows: C:\Users\<user>\AppData\Roaming\mdedup\
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mail-deduplicate
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [mailcheck](https://pkg.so/zh-hans/brew/mailcheck/) - Shares pkgdb curated category or tags: cli, email, mailbox, maildir, productivity.
- [mu](https://pkg.so/zh-hans/brew/mu/) - Shares pkgdb curated category or tags: cli, email, maildir, productivity.
- [aerc](https://pkg.so/zh-hans/brew/aerc/) - Shares pkgdb curated category or tags: cli, email, maildir, productivity.
- [offlineimap](https://pkg.so/zh-hans/brew/offlineimap/) - Shares pkgdb curated category or tags: cli, email, maildir, productivity.
- [meli](https://pkg.so/zh-hans/brew/meli/) - Shares pkgdb curated category or tags: cli, email, maildir, productivity.
- [mairix](https://pkg.so/zh-hans/brew/mairix/) - Shares pkgdb curated category or tags: cli, email, maildir, productivity.
- [neomutt](https://pkg.so/zh-hans/brew/neomutt/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [claws-mail](https://pkg.so/zh-hans/brew/claws-mail/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [alot](https://pkg.so/zh-hans/brew/alot/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, email, mail, productivity, python.

## Combined YAML source

View the package source record on GitHub. [combined/mail-deduplicate.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mail-deduplicate.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
