How To Install perl-Sendmail-PMilter on Fedora 36

In this tutorial we learn how to install perl-Sendmail-PMilter in Fedora 36. perl-Sendmail-PMilter is Perl binding of Sendmail Milter protocol

Introduction

In this tutorial we learn how to install perl-Sendmail-PMilter on Fedora 36.

What is perl-Sendmail-PMilter

Sendmail protocol in pure Perl. This allows Sendmail servers (and perhaps other MTAs implementing milter) to filter and modify mail in transit during the SMTP connection, all in Perl. It should be noted that PMilter 0.90 and later is NOT compatible with scripts written for PMilter 0.5 and earlier. The API has been reworked significantly, and the enhanced APIs and rule logic provided by PMilter 0.5 and earlier has been factored out for inclusion in a separate package called Mail

We can use yum or dnf to install perl-Sendmail-PMilter on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Sendmail-PMilter.

Install perl-Sendmail-PMilter 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 perl-Sendmail-PMilter using dnf by running the following command:

sudo dnf -y install perl-Sendmail-PMilter

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

sudo yum -y install perl-Sendmail-PMilter

How To Uninstall perl-Sendmail-PMilter on Fedora 36

To uninstall only the perl-Sendmail-PMilter package we can use the following command:

sudo dnf remove perl-Sendmail-PMilter

perl-Sendmail-PMilter Package Contents on Fedora 36

/usr/share/doc/perl-Sendmail-PMilter
/usr/share/doc/perl-Sendmail-PMilter/Changes
/usr/share/doc/perl-Sendmail-PMilter/README
/usr/share/doc/perl-Sendmail-PMilter/examples
/usr/share/doc/perl-Sendmail-PMilter/examples/crm114-milter.pl
/usr/share/doc/perl-Sendmail-PMilter/examples/protocol-dump-compat.pl
/usr/share/doc/perl-Sendmail-PMilter/examples/protocol-dump.pl
/usr/share/doc/perl-Sendmail-PMilter/examples/symbol-dump.pl
/usr/share/doc/perl-Sendmail-PMilter/milter-protocol.txt
/usr/share/man/man3/Sendmail::Milter.3pm.gz
/usr/share/man/man3/Sendmail::PMilter.3pm.gz
/usr/share/man/man3/Sendmail::PMilter::Context.3pm.gz
/usr/share/perl5/vendor_perl/Sendmail
/usr/share/perl5/vendor_perl/Sendmail/Milter.pm
/usr/share/perl5/vendor_perl/Sendmail/PMilter
/usr/share/perl5/vendor_perl/Sendmail/PMilter.pm
/usr/share/perl5/vendor_perl/Sendmail/PMilter/Context.pm

References

Summary

In this tutorial we learn how to install perl-Sendmail-PMilter on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).