# 使用 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
- **版本:** 9.1.0
- **来源摘要:** CLI to deduplicate mails from mail boxes
- **主页:** <https://kdeldycke.github.io/mail-deduplicate/>
- **仓库:** <https://github.com/kdeldycke/mail-deduplicate>
- **最后更新:** 2026-08-02T15:55:05Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mdedup (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 9.1.0
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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\

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
