OpenSMTPD VS postfix

Compare OpenSMTPD vs postfix and see what are their differences.

OpenSMTPD

This is official OpenSMTPD Portable repository. Forks, pull requests and other contributions are welcome! (by OpenSMTPD)

postfix

Postfix MTA by Wietse Venema (by vdukhovni)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
OpenSMTPD postfix
18 2
475 382
0.8% -
9.1 8.1
18 days ago 6 days ago
C C
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

OpenSMTPD

Posts with mentions or reviews of OpenSMTPD. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-09.

postfix

Posts with mentions or reviews of postfix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-04.
  • New Linux glibc flaw lets attackers get root on major distros
    7 projects | news.ycombinator.com | 4 Feb 2024
    FWIW C can do it too to some extent, here's postfix: https://github.com/vdukhovni/postfix/blob/master/postfix/src...
  • At Least 30k U.S. Organizations Newly Hacked via Holes in MS’s Email Software
    4 projects | news.ycombinator.com | 5 Mar 2021
    Postfix.

    But that’s only an MTA i hear you cry, Exchange does both MTA & MDA! Bear with me.

    Postfix is software to learn from. It might be written in C but the architecture is the epitome of beautiful modular design. It’s not just the meticulous separation of concerns, the care and attention to detail, everything from string handling to memory management is pristinely handled. https://github.com/vdukhovni/postfix

    Even at runtime the beauty of the architecture allows for a sysadmin to choose (via master.cf) exactly how the components should be composed to fit their needs. The defaults are crafted for minimum fuss if you just need to get it running ASAP. The software is ergonomic in addition to being artfully crafted.

    So what does all this care and attention get you? Only 9 CVEs in 22 years, only 3 of which are code exec, only 2 of which are (maybe) remote code exec, only 1 of which is unauth user RCE - but very hard in practice to exploit.

    Maybe it’s just not that popular? It was 1/3 of all SMTP servers on the internet according to a 2019 scan.

    So it’s the best MTA ever to exist, but what about MDA? Well, that was the whole point. Compose well crafted components together to build a system. You especially don’t run part of your mailserver’s web interface in kernel space because, well i’m not sure why IIS/Exchange does that :-)

What are some alternatives?

When comparing OpenSMTPD and postfix you can also consider the following projects:

Exim - Exim Mail Transport Agent - source, testsuite and documentation

Haraka - A fast, highly extensible, and event driven SMTP server

CSS-Exchange - Exchange Server support tools and scripts

Qmail - Bind to different local ip addresses depending on the domain part of the sender argument when using `qmail-remote`.

Mailu - Insular email distribution - mail server as Docker images

Maildrop

Postal - 📮 A fully featured open source mail delivery platform for incoming & outgoing e-mail

Dovecot - Dovecot mail server

Slimta - Python libraries to send, receive, and queue email.

MailCatcher - Catches mail and serves it through a dream.

MailHog - Web and API based SMTP testing