Haraka

Haraka is an open-source, high-performance SMTP mail transfer agent (MTA) written in Node.js.

  • Communication
Haraka is an open-source, high-performance SMTP mail transfer agent (MTA) written in Node.js. It sends, receives, and filters email using a modular JavaScript plugin system that covers authentication, DKIM signing, spam protection, and custom scripting. It is designed to pair with a separate mail store and IMAP/POP3 service, not to replace them. Homelab and production users who want a fast, scriptable MTA without the bulk of a full mail suite will find Haraka a lean, extensible option.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

76/100 Good

Maintained
100last commit 1 day ago
Popular
755,639 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data
Security check
81no serious findings, 1 minor, CI, tests, OpenSSF Scorecard 6.8/10

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
5,639
Open issues
0
Last commit
2026-11-20
Latest release
v3.4.0
License
MIT
Activity
rising

Checked yesterday - source: GitHub (haraka/Haraka)

Resources & Compatibility

Requirements not published yet.

Checked yesterday - source: Docker Hub image tags and published docs

First-install notes

  • Install Haraka and create its folder Install Haraka with npm (the Node.js package manager) and run haraka -i in a brand-new empty folder. This creates the config files Haraka needs; without that folder, you have no place to store settings. source
  • Start Haraka in the config folder Open the folder that holds your Haraka config files and run haraka -c . to start it there. The -c flag tells Haraka which config folder to use, so starting it from the wrong place can make it use the wrong settings. source
  • Start Haraka automatically after reboot Enable daemonize (run-in-background) in smtp.ini and install the service file so Haraka starts after reboot. Without this, Haraka stops when you log out or the machine restarts, and incoming mail will not flow. source
  • Install via npm Install globally with: npm install -g Haraka source

Fetched yesterday - each note links to its source

Alternatives (1)

Checked yesterday - source: AlternativeTo

Common questions

Does Haraka store mail or provide IMAP by itself?

No. Haraka is an SMTP server, not a mail store, LDA, or IMAP server. It is designed to work alongside a separate mail store and IMAP/POP3 service.

What files are needed before Haraka can be configured?

Run haraka -i in a new directory after installing Haraka with npm. This creates the config/ and plugins/ directories, sets the host name, and gives you config/host_list for accepted mail domains.

Which ports and plugins are used for authenticated sending?

Enable the auth and DKIM plugins. Haraka can be run as an MSA on port 465 or legacy 587 with those plugins enabled.

How does Haraka handle outbound mail for relayed messages?

Haraka has a built-in outbound delivery engine that automatically queues mail marked as relaying. An auth plugin can mark a message as relaying to trigger this.

How can Haraka keep running after logout or reboot?

Enable daemonize in smtp.ini and install the service file so Haraka starts automatically after reboot. Without this, Haraka stops when you log out or the machine restarts.

Answers sourced from github.com, github.com

Community

Collected yesterday - public community threads