This is an old revision of the document!
Install the package with:
dnf install postfix
Consult http://www.postfix.org/BASIC_CONFIGURATION_README.html for the set of basic options.
systemctl start postfix firewall-cmd --permanent --add-service=smtp firewall-cmd --reload
After setting up proper MX and SPF records on your DNS server, you should now be able to send and receive emails. Emails will be stored under
/var/spool/mail. You can also use the
/var/mail symlink to access it.
For simplicity I installed
mailx to send and receive emails on the machine.
dnf install mailx mailx
To enable Postfix on next boot:
systemctl enable postfix