User Tools

Site Tools


This is an old revision of the document!

Install Postfix on Fedora Server 29

Install the package with:

dnf install postfix

Edit /etc/postfix/ Consult 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

To check Postfix logs: (remove f to not follow)

journalctl -fu postfix

To enable Postfix on next boot:

systemctl enable postfix
install_postfix_on_fedora_server_29.1548119650.txt.gz · Last modified: 2019/01/22 01:14 by root