How To Install postfix-perl-scripts.x86_64 on Amazon Linux 2

In this tutorial we learn how to install postfix-perl-scripts.x86_64 in Amazon Linux 2. postfix-perl-scripts.x86_64 is Postfix utilities written in perl

Introduction

In this tutorial we learn how to install postfix-perl-scripts.x86_64 on Amazon Linux 2.

What is postfix-perl-scripts.x86_64

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 to install postfix-perl-scripts.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install postfix-perl-scripts.x86_64.

Install postfix-perl-scripts.x86_64 on Amazon Linux 2 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.x86_64 using yum by running the following command:

sudo yum -y install postfix-perl-scripts.x86_64

How To Uninstall postfix-perl-scripts.x86_64 on Amazon Linux 2

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

sudo yum remove postfix-perl-scripts.x86_64

postfix-perl-scripts.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/pflogsumm
/usr/sbin/qshape
/usr/share/doc/postfix-2.10.1/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.x86_64 on Amazon Linux 2 using yum.