Skip to content
hostedsoftware
Submit

Posthorn

Self-hosted email gateway between your apps and a transactional mail provider (Postmark, Resend, Mailgun, AWS SES, or outbound-SMTP). Three ingress shapes (HTTP form, HTTP API, SMTP). One Docker container, one TOML config.

Open source🐳 Docker★ 218Apache-2.0

What is Posthorn?

Posthorn is a free and open-source self-hosted email complete solutions. It's written mainly in Go and released under the Apache-2.0 license. The project has 218 stars on GitHub and 14 forks, and its last commit landed 25 days ago. Our maintenance health score is 70/100 (active). It can be deployed with Docker.

How to self-host Posthorn

  1. 1. Get a server. A $5/month VPS or any always-on machine at home works for most single-user setups.
  2. 2. Install it. Posthorn ships Docker images — grab the docker-compose.yml from the repository and run docker compose up -d.
  3. 3. Add HTTPS. Put it behind Caddy, Traefik or Nginx Proxy Manager.
  4. 4. Back up. Schedule backups of its data volume and database — self-hosting means you own recovery too.

Posthorn FAQ

Is Posthorn free?

Yes. Posthorn is open-source (Apache-2.0), so you can download, self-host and modify it for free. You only pay for the server you run it on.

How do I self-host Posthorn?

The quickest route is Docker: Posthorn ships container images, so a single docker-compose file on any Linux VPS or home server gets you running. Put it behind a reverse proxy such as Caddy, Traefik or Nginx Proxy Manager for HTTPS, and back up its data volume regularly.

Is Posthorn still maintained?

Posthorn's last commit was 25 days ago and its latest release (v2.0.1) shipped 2 months ago. Its health score is 70/100, which we rate as “Active”.

What are the best alternatives to Posthorn?

Popular alternatives to Posthorn include Emailflare (★ 270), Mail-in-a-Box (★ 15.5K), SimpleLogin (★ 7.2K), Inbox (★ 1.8K), Mailcheap (★ 1.8K). Compare them side by side on this page.

  • Self-hosted email sending platform built on Cloudflare Email Sending — REST API, admin UI, templates, domain management, scoped API keys…

    ★ 270TypeScriptActive
  • Turns any Ubuntu server into a fully functional mail server with one command.

    ★ 15.5KPythonCC0-1.0Thriving
  • Open source email alias solution to protect your email address. Comes with browser extensions and mobile apps.

    ★ 7.2KPythonMITThriving
  • Modern email for teams and professionals. A replacement for outdated email technology and tools. Alt to hey.com, front.com, missiveapp.com.

    ★ 1.8KTypeScriptSlowing
  • Newsletters where you pay for the emails you send, not for dormant subscribers, at a fraction of the price of beehiiv and the like. Open…

    ★ 1.8KJavaScriptAGPL-3.0Active
  • All-in-one mail server that implements SMTP (both MTA and MX) and IMAP. Replaces Postfix, Dovecot, OpenDKIM, OpenSPF, OpenDMARC with…

    ★ 6.1KGoGPL-3.0Thriving
  • Self-hosted JMAP webmail for Stalwart Mail Server. Mail, calendar, contacts, and files in one client.

    ★ 1.5KTypeScriptThriving
  • Open source email forwarding service for creating aliases.

    ★ 5KPHPMITThriving
  • Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container. Only…

    ★ 19.8KShellMITThriving