# 使用 Homebrew 安装 haraka

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

## 安装

```sh
sudo av install brew:haraka
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install haraka
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:haraka
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/haraka>
- **版本:** 3.3.2
- **来源摘要:** Fast, highly extensible, and event driven SMTP server
- **主页:** <https://haraka.github.io/>
- **上游文档:** <https://haraka.github.io/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/Haraka/-/Haraka-3.3.2.tgz>
- **最后更新:** 2026-07-22T06:20:49Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- haraka (cli)
- haraka_grep (cli)
- haraka (别名)
- haraka_grep (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

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

Haraka is a Node.js SMTP server and mail transfer agent with an asynchronous plugin architecture. Its niche is not mail storage; it is a programmable SMTP edge, relay, filter, or submission service that can sit beside systems such as IMAP stores, qmail-like stores, Postfix, or application backends.

### 项目历史

The official README credits Haraka to Matt Sergeant and notes later maintenance by Matt Simerson and the Haraka community. The repository history begins in March 2011, fitting the early Node.js era when evented JavaScript servers were being applied to network daemons.

Haraka's design took the SMTP conversation and exposed it as hook points such as connection, HELO, MAIL, RCPT, DATA, queue, and post-DATA stages. That made the project attractive to administrators who wanted custom filtering and routing logic without patching a traditional MTA.

### 采用历史

Haraka's homepage says it has been used heavily in high-traffic sites, and the README describes it as handling thousands of concurrent connections and thousands of messages per second. Adoption appears concentrated among mail operators and application teams that need programmable SMTP behavior.

Its package-manager footprint is thinner than HAProxy or HarfBuzz in the supplied facts, with Homebrew as the listed package manager, which matches its niche role as a Node.js-based mail server rather than a universal system dependency.

### 使用方式

Typical use is installing the `haraka` command, creating a service directory with `haraka -i`, editing files under `config/`, enabling plugins in `config/plugins`, and running the daemon with `haraka -c`.

Common plugin-driven roles include inbound filtering, DKIM signing, authentication, DNSBL or reputation checks, SpamAssassin or rspamd integration, queueing, forwarding, rate limiting, and SMTP submission.

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

Haraka is interesting to package users because it treats SMTP policy as JavaScript plugins. Packaging has to bridge Node.js runtime expectations, executable scripts, global installation patterns, and service-directory configuration generated outside the package prefix.

The package is also a reminder that not all MTAs are monolithic C daemons: for some deployments, a lightweight evented SMTP front end plus plugins is the smaller operational unit.

### 时间线

- 2011-03-10: Haraka repository history begins with the first commit.
- 2011-03-12: Early commits show the first working SMTP implementation taking shape.
- 2011-04-05: The v0.2 tag appears in the official git tag history.
- 2020s: README and homepage describe Haraka as a high-performance, plugin-oriented Node.js SMTP server maintained by the community.

### Related projects

- Related mail infrastructure includes Node.js, Qpsmtpd, SpamAssassin, rspamd, DKIM plugins, DNSBL services, Postfix, qmail, Dovecot, and other MTAs or mailbox stores that Haraka can complement.
- Haraka's plugin model makes the ecosystem of Haraka plugins as important as the core daemon.

### 来源

- <https://github.com/haraka/Haraka>
- <https://github.com/haraka/Haraka/blob/master/README.md>
- <https://haraka.github.io/>


## 安全说明

没有找到 haraka 的匹配本地密钥处理 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

- Unix: /path/to/haraka/config/host_list, /path/to/haraka/config/plugins, /path/to/haraka/config/smtp_forward.ini
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** haraka
- **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


## 相关链接

- [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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [exim](https://pkg.so/zh-hans/brew/exim/) - Shares pkgdb curated category or tags: cli, mail-server, networking, smtp.
- [mox](https://pkg.so/zh-hans/brew/mox/) - Shares pkgdb curated category or tags: cli, mail-server, networking, smtp.
- [msmtp](https://pkg.so/zh-hans/brew/msmtp/) - Shares pkgdb curated category or tags: cli, networking, smtp.
- [swaks](https://pkg.so/zh-hans/brew/swaks/) - Shares pkgdb curated category or tags: cli, networking, smtp.
- [mailutils](https://pkg.so/zh-hans/brew/mailutils/) - Shares pkgdb curated category or tags: cli, mail-server, networking.
- [whistle](https://pkg.so/zh-hans/brew/whistle/) - Shares pkgdb curated category or tags: cli, networking, nodejs.
- [davmail](https://pkg.so/zh-hans/brew/davmail/) - Shares pkgdb curated category or tags: cli, networking, smtp.
- [dovecot](https://pkg.so/zh-hans/brew/dovecot/) - Shares pkgdb curated category or tags: cli, mail-server, networking.

## Combined YAML source

View the package source record on GitHub. [combined/haraka.yml](https://github.com/mxcl/pkgdb/blob/main/combined/haraka.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
