Saturday 9 November 2019

How to Install Postfix Mail Server on CentOS 8 Minimal




Postfix is a free and open source widely used mail server for Linux distributions. It is available in base repository on most of the latest Linux distributions.

This article describes How to Install Postfix Mail Server on CentOS 8 Minimal installation.

Step 1. Package Installation: It is available in CentOS 8 base repository and can be installed using yum command:

[root@linuxcnf ~]# dnf install postfix -y
……………………..
Installed:
  postfix-2:3.3.1-8.el8.x86_64                                                         libicu-60.2-7.el8.x86_64

Complete!
[root@linuxcnf ~]#

Step 2. Starting Service: Run the following command to start the postfix service and enable it to start on system boot up:

[root@linuxcnf ~]# systemctl start postfix
[root@linuxcnf ~]# systemctl enable postfix
Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service /usr/lib/systemd/system/postfix.service.
[root@linuxcnf ~]#

Done!!! Send an internal mail using mail/mailx command to validate the installation.

No comments:

Post a Comment