Show HN: Rebuilding Amazon SES in Rust github.com · 3 points · 0 comments · HN t...

@show

Show HN: Rebuilding Amazon SES in Rust github.com · 3 points · 0 comments · HN thread

TL;DR Kam, CTO of Nitrosend, announces NitroMTA, an open-source Rust mail transfer agent that accepts Amazon SES v2 sending calls so applications can keep their SES code and only change the endpoint and credentials. The project reports 3,313 messages per second against KumoMTA's 1,048 and Postfix's 806 in its own benchmark, and says it has run in production for a few weeks while warming its own IPs. The thread has no comments yet.

  • NitroMTA is an SES v2 compatible sending engine; applications using boto3, the JavaScript, Ruby and Python SDKs, Nodemailer or django-ses are said to work by changing only the endpoint and keys.
  • Benchmark on an AWS c7gd.metal server with 4 CPUs and 2 GiB per engine: 3,313 msg/s for NitroMTA, 1,048 for KumoMTA (with synchronous RocksDB spool) and 806 for Postfix with OpenDKIM; the author notes KumoMTA's default async mode was measured separately.
  • Each message is committed to disk before acceptance; the harness checked 1.35 million messages across nine runs for single delivery, intact body and valid DKIM.
  • Deliverability features include per-IP, per-receiver-group warmup starting at 50 messages a day, with Outlook.com defaults taking 14 clean increases to reach 10,000 a day and the default ladder taking seven.
  • Requirements: outbound port 25, reverse DNS per sending IP, and SPF, DKIM and DMARC records; a nitromta doctor command checks them.
  • The project ships as a single binary with SQLite storage, a systemd unit, a capture mode for local testing, and a compatibility page listing supported operations and known differences from SES.

Links in the post

  • Compatibility: Lists the SES v2 operations, SNS subset, events, SMTP behaviour and the points where NitroMTA differs from Amazon SES.
  • Benchmarks: Describes the benchmark method, machine, versions, results table and how to reproduce the comparison with the harness.

Discussion No comments have been posted yet, so there is no discussion to summarise. The post has 3 points on Hacker News.

#email #rust #smtp #sesReplacement #deliverability #opensource