Postfix is a common mail server, many large distributions are shipped with Postfix installed by default. The default configuration allows local mailing only, but that in itself is very useful on a machine used by many users, and even if there is no such traffic, many services dump their reports and messages into e-mails, which is delivered to the
root user locally, so the sysadmin will be noticed on any events of interest when he/she logs in and switches to
A simple example would be scheduled
cron jobs: any output not redirected from the output of a script running from cron will be wrapped to an e-mail and will be delivered to
root‘s mailbox, so the administrator does not even have to make any effort to have the reports of the nightly backup jobs at hand.
While this standalone mode is certainly a nice service as it is, postfix is a full-fledged mail server, capable of receiving, forwarding, relaying, filtering of e-mails, it basically have every feature we need for a mail server.
In this tutorial you will learn:
- How to install postfix on RHEL 8 / CentOS 8
- How to verify the working service with standalone functionality.