How To Install postfix-perl-scripts on Rocky Linux 8

In this tutorial we learn how to install postfix-perl-scripts on Rocky Linux 8. postfix-perl-scripts is Postfix utilities written in perl

Introduction

In this tutorial we learn how to install postfix-perl-scripts on Rocky Linux 8.

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 Rocky Linux 8. 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 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-perl-scripts using dnf by running the following command:

sudo dnf -y install postfix-perl-scripts

Install postfix-perl-scripts 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-perl-scripts using yum by running the following command:

sudo yum -y install postfix-perl-scripts

How To Uninstall postfix-perl-scripts on Rocky Linux 8

To uninstall only the postfix-perl-scripts package we can use the following command:

sudo dnf remove postfix-perl-scripts

postfix-perl-scripts Package Contents on Rocky Linux 8

/usr/sbin/pflogsumm
/usr/sbin/qshape
/usr/share/doc/postfix/pflogsumm-faq.txt
/usr/share/man/man1/pflogsumm.1.gz
/usr/share/man/man1/qshape.1.gz

References

Summary

In this tutorial we learn how to install postfix-perl-scripts on Rocky Linux 8 using yum and dnf.