Andrew Mercer
on this page

email-fundamentals/ — concepts that apply regardless of MTA

  1. Email Architecture — MUA/MTA/MDA roles, envelope vs. headers, ports
  2. The SMTP Protocol — the raw conversation, response codes, STARTTLS vs. implicit TLS, bounces
  3. DNS and Mail Routing — MX/PTR records, relaying vs. final delivery, smart hosts
  4. Email Authentication and Anti-Spam — SPF, DKIM, DMARC, RBLs, greylisting concept
  5. Mailbox Formats and Delivery — mbox vs. Maildir, local vs. virtual mailboxes, MDAs

postfix/ — Postfix-specific

  1. Overview and Architecture — the daemon pipeline, queue directories, lookup table types, core identity settings
  2. Installation and Basic Configuration — install, minimal main.cf, testing via mail/telnet
  3. Relaying Outbound Mail — null client pattern, daemonless submission with msmtp (e.g. feeding an existing containerized Postfix relay), relaying via Gmail/Mailgun/Proton Mail/generic smart hosts
  4. Virtual Domains, Mailing Lists, and Virtual Mailboxes — forwarding domains, /etc/aliases lists, MySQL-backed virtual mailboxes, PostfixAdmin, auto-reply
  5. TLS Encryption — security levels, per-domain enforcement, certs, verification, troubleshooting
  6. Security and Hardening — open relay testing, greylisting (postgrey), header/content filtering, checklist
  7. Administration and Queue Management — postqueue, postsuper, aliases, logs
  8. Troubleshooting — reading log severities, a catalog of specific errors and fixes
  9. Legacy Reference: Two-Host Local Network Setup — historical home-network relay setup, kept for reference
in this section
* email fundamentals/
* postfix/