January 10, 2019

Postfix (Sendmail) on Fedora

First of all, Postfix is not Sendmail. Sendmail is now deprecated, and Postfix is the recommended replacement. These are both MTA (mail transfer agents) that use the SMTP protocol.

My goal is to be able to send (but not receive) mail from my Fedora linux system on my home computer. Receiving mail is irrelevant, since the machine is on a private network, and I have no intention of port forwarding port 25 or anything like that. Primarily, I just want to be able to send mail to myself from cron jobs and such like.

Installing and configuring it

My system is somewhat out of date (be that as it may) and I am running Fedora 27. Apparently what I want (a send only configuration) is what is called a "null client"
dnf install postfix
systemctl restart postfix.service
systemctl enable postfix.service
Files are in /etc/postfix Here are some tips on working with Google:
Have any comments? Questions? Drop me a line!

Adventures in Computing / tom@mmto.org