Haraka is a modular SMTP server that handles high concurrency through async JavaScript plugins, with built-in outbound delivery and spam-filtering integrations.
Overview
Haraka is a Node.js SMTP server built for throughput and low latency, using an event-driven core that can manage many concurrent connections and high message rates. Plugins extend every stage of an SMTP transaction—connect, HELO, MAIL, RCPT, DATA, queue, and more—without blocking the server on slow DNS, Redis, or HTTP lookups.
It is commonly deployed as a filtering MTA or as a mail submission agent on ports 465 and 587 when authentication and DKIM plugins are enabled. Haraka is not a mailbox store, LDA, or IMAP server; it is meant to sit beside those systems and can queue mail flagged for relay through a built-in outbound engine.
Configuration lives in a service directory you create after installing the npm package, with config and plugins folders and a host list defining accepted domains. Core and community plugins cover auth, DNSBLs, DKIM, SpamAssassin, rspamd, Redis, ClamAV, and assorted queue backends.
You install globally or locally via npm, scaffold a instance directory, enable plugins in config, and start the server process. Custom behavior such as rewriting tagged recipient addresses is typically a small plugin hook rather than a fork of the MTA.
Key features
- Async hook-based plugin architecture
- High concurrent SMTP connections
- Built-in outbound delivery queue
- Auth and DKIM plugin ecosystem
- SpamAssassin and rspamd integrations
- Redis and ClamAV plugin support
- SMTP forwarding to backends
- Qmail-style address rewriting patterns
Use cases
- Inbound filtering MTA in front of mail stores
- Authenticated MSA on port 587 or 465
- Custom routing with JavaScript plugins
- High-volume outbound SMTP relay
- Spam and AV scanning at the edge
Does the same job as
Haraka doesn't name these products itself, but its own description shows it does the same job.