Back to services

Haraka

Fast, highly extensible, and event driven SMTP server.

View alternatives to Haraka
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Haraka is a modern, high-performance, flexible open-source SMTP server written in Node.js. According to the official website, it delivers extremely high performance, and its plugin system is flexible enough to give JavaScript programmers full control over, and the ability to modify, the server's behavior. Some high-traffic websites make heavy use of Haraka, and the "Known Users" page on the official website lists testimonials from them.

The project was started by Matt Sergeant and is now maintained by the Haraka community. The source code is hosted on GitHub (haraka/Haraka).

Key Features

  • High-performance SMTP service: Built on Node.js's asynchronous, event-driven model, it can handle a large number of concurrent connections at the same time.
  • Plugin-based architecture: The core is kept lean, and most functionality is implemented by plugins. Developers can hook JavaScript code into each stage of an SMTP session to customize how mail is received, filtered, routed and delivered.
  • Scalable: Suited to large-scale, high-traffic mail processing scenarios.
  • Mail filtering and forwarding: Haraka is often placed in front of other mail systems, where it receives and filters mail and then forwards it to back-end mail storage systems.

Target Users and Use Cases

  • Operations staff and developers who need to self-host or customize an SMTP service
  • Teams that use JavaScript / Node.js to customize mail processing workflows
  • High-traffic websites and services that need to handle large volumes of mail
  • Organizations that want to add a flexible layer of filtering and routing in front of their existing mail infrastructure

Note that Haraka is an SMTP server, mainly responsible for sending, receiving and processing mail. A complete mailbox solution usually requires additional software to provide mail storage and access for retrieving mail.

Core Strengths

  • High performance: Well suited to scenarios with high concurrency and high throughput.
  • Easy to get started: If you know JavaScript, you can write plugins, with no need to learn a dedicated configuration language.
  • Flexible: Plugins let you modify the server's behavior in depth.
  • Open source, community-maintained: The code is public and is continuously maintained by the community.

Installation

Haraka is installed globally via npm:

npm install Haraka -g

After installation, you can follow the Getting Started documentation on the official website to create a configuration directory, enable plugins and start the service.

Technical Requirements

  • Node.js runtime
  • npm package manager
  • A server environment capable of providing SMTP service to the outside (self-hosted deployment)