How To Install postfix-mysql on Rocky Linux 8
Introduction
In this tutorial we learn how to install postfix-mysql
on Rocky Linux 8.
What is postfix-mysql
This provides support for MySQL maps in Postfix. If you plan to use MySQL maps with Postfix, you need this.
We can use yum
or dnf
to install postfix-mysql
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install postfix-mysql.
Install postfix-mysql on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install postfix-mysql
using dnf
by running the following command:
sudo dnf -y install postfix-mysql
Install postfix-mysql on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install postfix-mysql
using yum
by running the following command:
sudo yum -y install postfix-mysql
How To Uninstall postfix-mysql on Rocky Linux 8
To uninstall only the postfix-mysql
package we can use the following command:
sudo dnf remove postfix-mysql
postfix-mysql Package Contents on Rocky Linux 8
/etc/postfix/dynamicmaps.cf.d/mysql
/etc/postfix/postfix-files.d/mysql
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/56ea5021ba6b8cb42b231d438f08c902c97ee5
/usr/lib64/postfix/postfix-mysql.so
/usr/share/doc/postfix/README_FILES/MYSQL_README
/usr/share/man/man5/mysql_table.5.gz
References
Summary
In this tutorial we learn how to install postfix-mysql
on Rocky Linux 8 using yum and dnf.