← All projects
Project record1 mention
Originally shared on Hacker News

NitroMTA

NitroMTA is an open-source Amazon SES replacement mail transfer agent written in Rust, built by Nitrosend. It keeps existing SES v2 sending calls working — tested against the official JavaScript, Python and Ruby SDKs, Nodemailer and django-ses — so applications can send through the operators' own bare-metal servers by changing only the endpoint and credentials. It includes per-IP, per-provider sending-budget/warmup tracking and a 'nitromta doctor' setup checker. The submitter reports a few weeks in production and a published benchmark showing 3.16x KumoMTA's and 4.11x Postfix's sustained throughput.

Last shared
01 / The problem

What it addresses

Moving email sending onto self-controlled bare-metal servers and IPs without rewriting application code already calling Amazon SES.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. NitroMTA

    NitroMTA is an open-source Amazon SES replacement mail transfer agent written in Rust, built by Nitrosend. It keeps existing SES v2 sending calls working — tested against the official JavaScript, Python and Ruby SDKs, Nodemailer and django-ses — so applications can send through the operators' own bare-metal servers by changing only the endpoint and credentials. It includes per-IP, per-provider sending-budget/warmup tracking and a 'nitromta doctor' setup checker. The submitter reports a few weeks in production and a published benchmark showing 3.16x KumoMTA's and 4.11x Postfix's sustained throughput.

    Problem: Moving email sending onto self-controlled bare-metal servers and IPs without rewriting application code already calling Amazon SES.

    Posted by @auscaster · Original source ↗

    Source text · @auscaster · · Source ↗

    So we built NitroMTA, an open-source SES replacement in Rust. We kept our existing SES v2 sending calls and changed the endpoint and credentials to send through our own engine.

    Story title · @auscaster · · Source ↗

    Show HN: Rebuilding Amazon SES in Rust

    Submitted URL · @auscaster · · Source ↗

    https://github.com/nitrosend/nitromta

    Source text · @auscaster · · Source ↗

    The compatibility page lists the operations and differences from SES: https://nitromta.com/docs/compatibility/

    Source text · @auscaster · · Source ↗

    you can run the comparison with cargo harness quick: https://nitromta.com/docs/benchmarks/

    Source text · @auscaster · · Source ↗

    We wanted to make that move without rewriting the application code already calling Amazon SES.

    Source text · @auscaster · · Source ↗

    For an application using boto3, this is the client configuration

    Source text · @auscaster · · Source ↗

    We test the official JavaScript, Python and Ruby SDKs against the engine, along with Nodemailer and django-ses.

    Source text · @auscaster · · Source ↗

    we've been gradually moving our email sending onto bare-metal servers and IPs we control

    Source text · @auscaster · · Source ↗

    We've been running it in production for a few weeks, moving more mail over as we warm our IPs and build reputation with each mailbox provider.

    Source text · @auscaster · · Source ↗

    NitroMTA sustained 3.16 times KumoMTA's throughput and 4.11 times Postfix's.

    Source text · @auscaster · · Source ↗

    We track the budget by sending IP and receiver group.

    Source text · @auscaster · · Source ↗

    We put the setup checks in nitromta doctor, which prints the missing records.