# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper 安装 mailutils

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

## 安装

```sh
sudo av install brew:mailutils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mailutils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mailutils
```

  证据: MacPorts ports tree: mail/mailutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mailutils
```

  证据: Alpine Linux edge package indexes: mailutils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mailutils
```

  证据: Debian stable package indexes: mailutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#mailutils
```

  证据: nixpkgs package indexes: pkgs/by-name/ma/mailutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mailutils
```

  证据: Arch Linux sync databases: mailutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mailutils
```

  证据: openSUSE Tumbleweed package metadata: mailutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:mailutils
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mailutils>
- **版本:** 3.21
- **来源摘要:** Swiss Army knife of email handling
- **主页:** <https://mailutils.org/>
- **上游文档:** <https://mailutils.org/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/mailutils/mailutils-3.21.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- comsatd (cli)
- decodemail (cli)
- dotlock (cli)
- frm (cli)
- from (cli)
- imap4d (cli)
- lmtpd (cli)
- mail (cli)
- mailutils (cli)
- mailutils-config (cli)
- messages (cli)
- mimeview (cli)
- movemail (cli)
- pop3d (cli)
- popauth (cli)
- putmail (cli)
- readmsg (cli)
- sieve (cli)
- comsatd (别名)
- decodemail (别名)
- dotlock (别名)
- frm (别名)
- from (别名)
- imap4d (别名)
- lmtpd (别名)
- mail (别名)
- mailutils (别名)
- mailutils-config (别名)
- messages (别名)
- mimeview (别名)
- movemail (别名)
- pop3d (别名)
- popauth (别名)
- putmail (别名)
- readmsg (别名)
- sieve (别名)

## 依赖

- gdbm
- gettext
- gnutls
- gsasl
- libtool
- libunistring
- readline

## macOS 提供的库

- libxcrypt

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.21
- 本地数据: OK
- 上游仓库: https://mailutils.org/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

GNU Mailutils is the GNU Project's general-purpose mail package: a set of command-line utilities, daemons, and libraries for handling electronic mail across local and remote mailbox formats.

### 项目历史

The Mailutils manual describes the package as having started from a practical need to handle large mailbox files more gracefully than the POP3 servers available to its authors at the time. That origin explains the library-centered design: programs built on Mailutils are meant to work across mailbox formats through one interface rather than carrying separate mailbox-specific code.

Public GNU source archives show Mailutils 0.1 available in September 2002, 1.0 in July 2006, and the 3.x line continuing through Mailutils 3.21 in December 2025. Over that span the package accumulated classic Unix mail commands, protocol daemons, Sieve support, MH-compatible tools, and libmailutils APIs for mailbox, MIME, authentication, and protocol work.

### 采用历史

The upstream homepage identifies Mailutils as official GNU software and lists it as useful to regular users, system administrators, and developers. It also names other free software packages using it, including MH-E and Mailfromd, which is a useful signal that Mailutils is both a user-facing toolbox and a reusable mail framework.

In package-manager culture, Mailutils matters because it is the GNU-flavored provider of familiar commands such as mail, frm, from, messages, movemail, readmsg, and sieve, while also shipping POP3, IMAP4, LMTP, and related services. That makes one package cover many mail-adjacent command names that otherwise vary by Unix lineage.

### 使用方式

Users install Mailutils for traditional command-line mail reading and sending, mailbox inspection, message extraction, MIME viewing, movemail-style retrieval, and Sieve filtering. Administrators use its daemons and delivery tools for POP3, IMAP4, LMTP, local delivery, and mailbox conversion.

Mailutils reads a site-wide configuration file named ${sysconfdir}/mailutils.conf and, for client utilities, per-user files named after the program such as ~/.sieve. Its wicket command looks up matching URLs in the default ticket file ~/.mu-tickets, allowing credentials to be kept out of command lines and ordinary examples.

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

Mailutils is a dense GNU package in the best and worst senses: one formula brings in a pile of historically loaded mail commands plus servers, libraries, and protocol glue. It is especially interesting when comparing which implementation of mail, movemail, or sieve a distribution chooses to expose.

Because the suite understands UNIX maildrops, Maildir, MH, POP3, IMAP4, SMTP, TLS, SASL, and related mechanisms, it sits at the crossroads of old local Unix mail and network-era mail protocols. That makes it a frequent dependency, conflict, or alternative in mail tooling stacks.

### 时间线

- 2002: Mailutils 0.1 appears in the official GNU FTP archive.
- 2006: Mailutils 1.0 appears in the official GNU FTP archive.
- 2025: Mailutils 3.21 is released and documented by the upstream manual.

### Related projects

- GNU Emacs movemail is a historical reference point for Mailutils movemail.
- MH-E is listed by the upstream homepage as free software using Mailutils.
- Mailfromd is listed by the upstream homepage as free software using Mailutils.

### 来源

- <https://ftp.gnu.org/gnu/mailutils/>
- <https://mailutils.org/>
- <https://mailutils.org/manual/html_node/History.html>
- <https://mailutils.org/manual/html_node/configuration.html>
- <https://mailutils.org/manual/mailutils.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


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

- Unix: ${sysconfdir}/mailutils.conf, ~/.<program>

## Credential files

- Unix: ~/.mu-tickets
## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - libmailutils-dev - 1:3.19-1: normalized package name match | Debian stable package indexes: libmailutils-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for GNU mailutils | https://www.gnu.org/software/mailutils/
- Debian apt - libmailutils9t64 - 1:3.19-1: normalized package name match | Debian stable package indexes: libmailutils9t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU Mail abstraction library | https://www.gnu.org/software/mailutils/
- Debian apt - libmu-dbm9t64 - 1:3.19-1: normalized package name match | Debian stable package indexes: libmu-dbm9t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU Mail abstraction library -- dbm support | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU mailutils utilities for handling mail | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-common - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | common files for GNU mailutils | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-comsatd - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-comsatd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU mailutils-based comsatd daemon | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-doc - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation files for GNU mailutils | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-guile - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-guile from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU mailutils Guile interpreter and modules | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-imap4d - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-imap4d from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU mailutils-based IMAP4 Daemon | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-mda - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-mda from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU mailutils utilities for handling mail -- MDA | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-mh - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-mh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU mailutils-based MH utilities | https://www.gnu.org/software/mailutils/
- Debian apt - mailutils-pop3d - 1:3.19-1: normalized package name match | Debian stable package indexes: mailutils-pop3d from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU mailutils-based POP3 Daemon | https://www.gnu.org/software/mailutils/
- Debian apt - python3-mailutils - 1:3.19-1: normalized package name match | Debian stable package indexes: python3-mailutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU Mail abstraction library (Python3 interface) | https://www.gnu.org/software/mailutils/
- Nix - mailutils: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mailutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmailutils-dev - 1:3.17-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmailutils-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for GNU mailutils | https://www.gnu.org/software/mailutils/
- Ubuntu apt - libmailutils9t64 - 1:3.17-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmailutils9t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Mail abstraction library | https://www.gnu.org/software/mailutils/


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Runtime dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Runtime dependency declared by Homebrew.
- [gdbm](https://pkg.so/zh-hans/brew/gdbm/) - Runtime dependency declared by Homebrew.
- [gsasl](https://pkg.so/zh-hans/brew/gsasl/) - Runtime dependency declared by Homebrew.
- [fetchmail](https://pkg.so/zh-hans/brew/fetchmail/) - Shares pkgdb curated category or tags: cli, email, imap, networking, pop3.
- [msmtp](https://pkg.so/zh-hans/brew/msmtp/) - Shares pkgdb curated category or tags: cli, email, mail-client, networking.
- [dovecot](https://pkg.so/zh-hans/brew/dovecot/) - Shares pkgdb curated category or tags: cli, email, imap, mail-server, networking.
- [sendemail](https://pkg.so/zh-hans/brew/sendemail/) - Shares pkgdb curated category or tags: cli, email, mail-client, networking.
- [mpop](https://pkg.so/zh-hans/brew/mpop/) - Shares pkgdb curated category or tags: cli, email, networking, pop3.
- [goimapnotify](https://pkg.so/zh-hans/brew/goimapnotify/) - Shares pkgdb curated category or tags: cli, email, imap, networking.
- [getmail6](https://pkg.so/zh-hans/brew/getmail6/) - Shares pkgdb curated category or tags: cli, email, imap, networking, pop3.
- [nginx](https://pkg.so/zh-hans/brew/nginx/) - Shares pkgdb curated category or tags: cli, imap, networking, pop3.

## Combined YAML source

View the package source record on GitHub. [combined/mailutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mailutils.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
- external package-manager database matches
- cross-ecosystem install command graph
