How To Install postfix-perl-scripts on CentOS 7
Introduction
In this tutorial we learn how to install postfix-perl-scripts
on CentOS 7.
What is postfix-perl-scripts
This package contains perl scripts pflogsumm and qshape. Pflogsumm is a log analyzer/summarizer for the Postfix MTA. It is designed to provide an over-view of Postfix activity. Pflogsumm generates summaries and, in some cases, detailed reports of mail server traffic volumes, rejected and bounced email, and server warnings, errors and panics. qshape prints Postfix queue domain and age distribution.
We can use yum
or dnf
to install postfix-perl-scripts
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install postfix-perl-scripts.
Install postfix-perl-scripts on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install postfix-perl-scripts
using yum
by running the following command:
sudo yum -y install postfix-perl-scripts
Install postfix-perl-scripts on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install postfix-perl-scripts
using dnf
by running the following command:
sudo dnf -y install postfix-perl-scripts
How To Uninstall postfix-perl-scripts on CentOS 7
To uninstall only the postfix-perl-scripts
package we can use the following command:
sudo dnf remove postfix-perl-scripts
References
Summary
In this tutorial we learn how to install postfix-perl-scripts
on CentOS 7 using yum
and dnf
.