# 使用 Homebrew 安装 haraka

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install haraka
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:haraka
- **软件包管理器:** Homebrew
- **版本:** 3.3.2
- **来源摘要:** Fast, highly extensible, and event driven SMTP server
- **主页:** <https://haraka.github.io/>
- **最后更新:** 2026-07-22T06:20:49Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

- Unix: /path/to/haraka/config/host_list, /path/to/haraka/config/plugins, /path/to/haraka/config/smtp_forward.ini

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