How To Install postfix-mysql on Fedora 36
Introduction
In this tutorial we learn how to install postfix-mysql
on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install postfix-mysql.
Install postfix-mysql on Fedora 36 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 Fedora 36 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 Fedora 36
To uninstall only the postfix-mysql
package we can use the following command:
sudo dnf remove postfix-mysql
postfix-mysql Package Contents on Fedora 36
/etc/postfix/dynamicmaps.cf.d/mysql
/etc/postfix/postfix-files.d/mysql
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/ff596451aa97a93bd5688d322f34741acb8286
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).