Show HN: Posthorn, self-hosted mail without the mail server
Self-hosted mail without the mail server. A single Docker container or Go binary between self-hosted apps and transactional email providers, solving common email issues like blocked SMTP ports and providing anti-spam features for static sites.
View Origin Link
Product Positioning & Context
AI Executive Synthesis
Self-hosted mail without the mail server. A single Docker container or Go binary between self-hosted apps and transactional email providers, solving common email issues like blocked SMTP ports and providing anti-spam features for static sites.
Posthorn addresses a critical infrastructure gap for self-hosters. The blocking of default SMTP ports by VPS providers creates a significant operational hurdle. Posthorn centralizes transactional email delivery, abstracting away provider-specific integrations and offering essential anti-spam features for static sites. This consolidates a fragmented problem space, reducing configuration complexity and dependency on multiple external services or custom Postfix relays. The solution targets developers and small teams managing self-hosted applications (Ghost, Gitea, Mastodon, Umami, Comentario), providing a robust, open-source, and lightweight intermediary. Its value proposition lies in simplifying email delivery, enhancing reliability, and providing security layers, directly impacting developer productivity and system maintainability.
Introducing Posthorn, a self hosted email gateway. One docker container (or Go binary) between every self hosted app on your VPS and your transactional email provider. Set up Posthorn once, point your apps to it, done.I was trying to deploy Ghost on a DigitalOcean droplet and found that DO and many different VPS services have started to block the default SMTP ports to try to combat the various types of abuse they get. To actually configure my app, I had to hack together a Postfix relay.In another project, I had a static site which had a contact form, but my free Formspree account was occasionally hitting usage limits and I desperately wanted some of the anti-spam features they had gated behind their paid accounts so I put together a caddy module to catch HTTP POSTs and bounce them to my provider.I kept bumping into these same email issues. Many of the services I wanted to host (Gitea, Mastodon, Umami, Comentario) ran into the same limitations. This felt like a really common issue that had no good solution.Posthorn is what I built to solve this. It's a small Go binary (or 10 MB docker image) that sits between your self hosted apps and your transactional email provider of choice (shipping with support for Postmark, Resend, Mailgun, Amazon SES or an outbound SMTP relay). It also accepts POSTs from HTML forms to support static site needs while adding security layers such as honeypot fields, origin checks and IP rate limiting. There's also a JSON HTTP API that supports Bearer auth for backend scripts or cron jobs that just want a /send endpoint.I now use this personally in multiple scenarios and I've spent a lot of time beating this up and testing against what I can validate. I'd love to hear how this might be useful for you, what breaks and any feedback you might have. It's open source under Apache 2.0 and I'd love contributions. I'm planning to support and grow this for the long haul.Code: https://github.com/craigmccaskill/posthornDocs: https://posthorn.dev/Longer write up: https://craigmccaskill.com/introducing-posthorn/Previous HN discussion on the exact issue I'm trying to solve: https://news.ycombinator.com/item?id=43620318
self-hosted email gateway
docker container
Go binary
VPS
transactional email provider
SMTP ports
Postfix relay
caddy module
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is Posthorn, self-hosted mail without the mail server?
Posthorn, self-hosted mail without the mail server is analyzed by our AI as: Self-hosted mail without the mail server. A single Docker container or Go binary between self-hosted apps and transactional email providers, solving common email issues like blocked SMTP ports and providing anti-spam features for static sites.. It focuses on Posthorn addresses a critical infrastructure gap for self-hosters. The blocking of default SMTP ports by VPS providers creates a significant operat...
Where did Posthorn, self-hosted mail without the mail server originate?
Data for Posthorn, self-hosted mail without the mail server was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Posthorn, self-hosted mail without the mail server publicly launched?
The initial public indexing or launch date for Posthorn, self-hosted mail without the mail server within our tracked developer communities was recorded on May 27, 2026.
How popular is Posthorn, self-hosted mail without the mail server?
Posthorn, self-hosted mail without the mail server has achieved measurable traction, logging over 64 traction score and facilitating 43 recorded discussions or engagements.
Which technical categories define Posthorn, self-hosted mail without the mail server?
Based on metadata extraction, Posthorn, self-hosted mail without the mail server is categorized under topics such as: self-hosted email gateway, docker container, Go binary, VPS.
What are some commercial alternatives to Posthorn, self-hosted mail without the mail server?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as PayCan, which offers overlapping value propositions.
How does the creator describe Posthorn, self-hosted mail without the mail server?
The original author or development team describes the product as follows: "Introducing Posthorn, a self hosted email gateway. One docker container (or Go binary) between every self hosted app on your VPS and your transactional email provider. Set up Posthorn once, point y..."
Community Voice & Feedback
Discovery Source

Hacker News
Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.