Tracing the history of email from SMTP RFC 821 (1982) to ESMTP RFC 5321 (2008), the birth of Postfix by Wietse Venema, Dovecot, and Roundcube, the problems they solve, and the deliverability challenges you'll face in the modern era.

In episode 0 we made sure the environment was ready. Now let's step back and answer a question that's rarely asked but hugely influential: where does email come from, and why are Postfix, Dovecot, and Roundcube the choices we'll build together?
This isn't just trivia. Understanding email's history explains why the protocols look "archaic", why anti-spam is this strict, and why protecting your IP's reputation matters more than simply installing packages. Like understanding the history of a language, understanding email's history means you don't just know how to use it — you know when and why things are done a certain way.
We'll trace the birth of SMTP, the open relay and spam era that changed everything, the origins of our three main components, and close with the problems they solve and the challenges ahead.
Email was born long before the web. In 1971, Ray Tomlinson chose the @ symbol to separate the user name from the machine — and the email address format hasn't changed since. But the official protocol wasn't standardized until more than a decade later.
In 1982, RFC 821 released the Simple Mail Transfer Protocol (SMTP) as the official standard. Its architecture was simple: a server accepts messages from another server, stores them, then forwards them toward the destination. No authentication, no encryption — the internet back then was a small circle of researchers who trusted each other.
The next major step came in 2008 when RFC 5321 and 5322 overhauled the standard into Extended SMTP (ESMTP). SMTP gained extensions such as STARTTLS, message size, and richer message formats. The protocol we configure in this series is a direct descendant of this standard — the mail.example.com you'll see appearing in logs is the trace of ESMTP at work every time an email leaves your server.
The original SMTP design had a fatal flaw in the open internet era: many servers were configured as open relays — willing to forward email from anyone to anyone. In the 1990s, as email came into mainstream use, spammers exploited this to flood the world with unsolicited email.
Out of that crisis came the anti-spam standards we still use: SPF (2003), DKIM (2007), and DMARC (2012). Email that anyone could send with no proof of identity now requires signatures and authorization records in DNS.
As SMTP grew up, the three projects at the heart of this series were born to answer their own specific problems.
Before Postfix, the king of MTAs was sendmail — extremely powerful, but its configuration was notoriously complex and it was vulnerable. Wietse Venema (creator of tcpwrappers) wrote Postfix and released it in 1998 as a safer, modular, and far easier-to-configure alternative. Its design separates small processes that communicate with each other, so a single failing process doesn't bring everything down. More than two decades later, Postfix remains the default MTA on almost every Linux distribution.
On the delivery side, aging IMAP servers like UW-IMAP and Courier were showing their age: insecure, slow, and hard to scale. Dovecot was born in 2002 and quickly became the de facto standard — thanks to full support for IMAP, POP3, LMTP, SASL authentication, and a complete plugin ecosystem. Just as Postfix won the hearts of sysadmins in the MTA world, Dovecot did the same in the mailbox world.
When Gmail exploded in popularity in the mid-2000s, the world began to expect reading email from a browser. Roundcube was first released in 2008 as an open source webmail with a desktop-client-style interface. It sits on top of an existing IMAP server, making it the perfect complement to Postfix + Dovecot.
Note
A key pattern: all three were born out of real problems — complex sendmail, aging IMAP servers, and the demand for effortless webmail. Understanding the problems helps you understand the design decisions we'll explore in the coming episodes.
The Postfix + Dovecot + Roundcube combination remains relevant in the 2020s, but the ecosystem is evolving:
All of these trends directly affect the configuration you'll learn — especially episodes 5, 6, 17, and 18. You can still see the traces of that era directly in DNS:
dig TXT example.com +short
dig TXT _dmarc.example.com +shortThe first output contains the SPF record, the second the DMARC policy. If both queries return empty, email from your domain will struggle to prove its identity in the enforcement era — a topic covered thoroughly in episodes 5 and 17.
To make it easier to see the historical leaps, here's a quick timeline:
| Year | Event | Impact on your mail server |
|---|---|---|
| 1971 | Tomlinson uses @ | Email address format established |
| 1982 | RFC 821 (SMTP) | Send/receive protocol standardized |
| 1990s | Open relays & spam explode | Birth of the need for authentication & anti-spam |
| 1998 | Postfix released | Modern, modular, easy-to-configure MTA |
| 2002 | Dovecot released | Modern IMAP/POP3 server |
| 2003 | SPF introduced | Domains restrict which servers may send |
| 2007 | DKIM introduced | Cryptographic signature per email |
| 2008 | ESMTP (RFC 5321/5322) & Roundcube | Protocol overhauled; webmail born |
| 2012 | DMARC released | Policy when authentication fails |
| 2020s | TLS 1.3, DANE, MTA-STS, DMARC enforcement | Connections and identity increasingly required |
The last row is the era you're living in now: there's no more "best effort" — connections between servers are increasingly forced to be encrypted and identity is checked more and more often.
Why bother self-hosting? This question deserves an answer before you spend the next 22 episodes. The main arguments:
Honestly: a self-hosted mail server is not a one-time job. The main challenges:
The good news: this entire series is designed to tackle those challenges one by one — from the foundations in episode 2 to the production checklist in episode 22.
Episode 1 has mapped out email's history: from RFC 821 (1982) to ESMTP (2008), the open relay era that spawned spam and the SPF/DKIM/DMARC standards, and then the birth of Postfix (1998), Dovecot (2002), and Roundcube (2008) as answers to the problems of their times.
Key takeaways:
Now you know why everything exists. In the next episode, episode 2, we'll map out the core concepts and main architecture: who MUA, MTA, and MDA are, how email flows from sender to recipient, and which ports we'll open. See you in episode 2!