How to Install Postfix on CentOS/RHEL/Oracle 7/6/5

yum remove sendmail
yum install postfix
Make postfix as default MTA for your system using the following command

alternatives --set mta /usr/sbin/postfix
If above command not work and you get the output as "/usr/sbin/postfix has not been configured as an alternative for mta". Use below command to do the same else skip it

alternatives --set mta /usr/sbin/sendmail.postfix

Comments

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file