A practical guide to configuring a local Postfix mail server for development and testing purposes. Covers setting up Postfix's main.cf and master.cf for localhost-only delivery, configuring the mutt email client to read local mailboxes stored in Maildir format, enabling SMTP submission on port 587, and setting up LMTP transport maps to route mail to specific Unix sockets (e.g., for lists.sr.ht). Includes a working telnet SMTP session example and /etc/hosts configuration for local subdomains.

4m read timeFrom drewdevault.com
Post cover image

Sort: