# 使用 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
- **版本:** 3.21
- **来源摘要:** Swiss Army knife of email handling
- **主页:** <https://mailutils.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

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


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