Postfix

Postfix is a fast, secure SMTP (Simple Mail Transfer Protocol) mail server that administrators can use to accept, relay, and deliver email for self-hosted…

  • Communication
Postfix is a fast, secure SMTP (Simple Mail Transfer Protocol) mail server that administrators can use to accept, relay, and deliver email for self-hosted services.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Other devices

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

69/100 Good

Maintained
86last commit 17 days ago
Popular
58824 GitHub stars
Easy to install
352 install platforms, install notes
Light to run
85512 MB minimum RAM

Availability: platform listings confirmed today

GitHub stars
824
Open issues
17
Last commit
2026-11-04
Latest release
v5.2.1
License
MIT
Activity
steady

Checked 2 days ago - source: GitHub (bokysan/docker-postfix)

Resources & Compatibility

Minimum requirements: 512 MB RAM, 1 CPU core(s), 1 GB disk.

Checked 2 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Set your mail domain(s) before starting Set ALLOWED_SENDER_DOMAINS to your real domain(s), such as example.com, before starting the container. If it’s missing or too broad, the server can accept mail it shouldn’t, which often causes bouncing or blacklist trouble. source
  • Map SMTP submission port 587 Publish a host port to the container’s 587 port, for example with -p 1587:587; this is the secure mail-handoff port used by email apps. If it’s not opened, your mail clients can’t connect and outgoing mail will fail. source
  • List trusted IPs in mynetworks Set POSTFIX_mynetworks to the trusted IP addresses that may hand mail to Postfix without being treated as outside senders, such as your LAN or app server IPs. A too-narrow list blocks local senders, while a too-broad one lets outsiders bypass normal checks. source

Fetched 2 days ago - each note links to its source

Alternatives (5)

  • Mail-in-a-box - Easy-to-deploy mail server.
  • Mailpit - Mailpit is a multi-platform email testing tool & API for developers.
  • OpenSMTPD - OpenSMTPD is a free server-side SMTP (Simple Mail Transfer Protocol) transfer agent that sends, relays, and receives email for homelabs and…
  • Stalwart - Stalwart is an open-source, all-in-one email server that unifies JMAP, IMAP (Internet Message Access Protocol), and SMTP (Simple Mail Trans…
  • mailhog - MailHog is an email testing tool for developers that captures outgoing SMTP messages locally, shows them in a web UI or JSON API, and can o…

Checked 2 days ago - source: AlternativeTo

Common questions

Which container port should self-hosters expose so email apps can send outgoing mail with the Docker image?

Publish a host port to the container’s 587 port, such as mapping 1587 to 587. This is the secure mail-handoff port used by email apps. If it is not opened, mail clients cannot connect and outgoing mail fails.

What setting lists the trusted internal servers that may hand mail to Postfix?

Set POSTFIX_mynetworks to the trusted IP addresses that may hand mail to Postfix without being treated as outside senders. A too-narrow list blocks local senders, while a too-broad list lets outsiders bypass normal checks.

What domain control should be set before starting the Docker image to avoid accepting mail it should not accept?

Set ALLOWED_SENDER_DOMAINS to your real domain(s), such as example.com, before starting the container. If it is missing or too broad, the server can accept mail it shouldn’t accept, which often causes bouncing or blacklist trouble.

Which variables configure an upstream relay host and its credentials in the image?

Use RELAYHOST, RELAYHOST_USERNAME, and RELAYHOST_PASSWORD for the Postfix-specific relay settings.

What urgent security update does the Postfix homepage mention for SMTP smuggling?

An email spoofing attack called SMTP Smuggling was published before people had a chance to update Postfix and other mail systems. Updates are available for all supported Postfix stable releases.

Answers sourced from www.postfix.org, github.com, github.com, github.com, github.com

Community

Collected 2 days ago - public community threads