Mail Relay at Home: Postfix Smart Host
Overview This article documents a practical pattern for reliable outbound mail in a small network: A dedicated mail relay host (hl-mail) running Postfix Workstations using msmtp (via msmtp-mta) as a lightweight sendmail-compatible client Postfix relays mail to an upstream provider (a “smart host”) using SASL authentication and (typically) STARTTLS All hostnames, IP addresses, and email addresses are anonymised. Replace placeholders like: hl-mail.lan (mail relay host) mail.example.com (upstream SMTP provider / smart host) user@example.com (mailbox) 192.168.x.x (LAN IPs) Architecture Workstation(s) sendmail → msmtp → SMTP to hl-mail.lan:25 ...