How To Install procmail on Fedora 36

In this tutorial we learn how to install procmail in Fedora 36. procmail is Mail processing program

Introduction

In this tutorial we learn how to install procmail on Fedora 36.

What is procmail

Procmail can be used to create mail-servers, mailing lists, sort your incoming mail into separate folders/files (real convenient when subscribing to one or more mailing lists or for prioritising your mail), preprocess your mail, start any programs upon mail arrival (e.g. to generate different chimes on your workstation for different types of mail) or selectively forward certain incoming mail automatically to someone.

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

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

sudo dnf -y install procmail

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

sudo yum -y install procmail

How To Uninstall procmail on Fedora 36

To uninstall only the procmail package we can use the following command:

sudo dnf remove procmail

procmail Package Contents on Fedora 36

/usr/bin/formail
/usr/bin/lockfile
/usr/bin/mailstat
/usr/bin/procmail
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/b5bd5c4793788658d4f568e1c3d938b639cfc7
/usr/lib/.build-id/59
/usr/lib/.build-id/59/7f9e1d6321d4af428ba56e95a187c0179c0f76
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/15fa0ea050e2f91f68d405240d0efe142a81c7
/usr/share/doc/procmail
/usr/share/doc/procmail/Artistic
/usr/share/doc/procmail/COPYING
/usr/share/doc/procmail/FAQ
/usr/share/doc/procmail/FEATURES
/usr/share/doc/procmail/HISTORY
/usr/share/doc/procmail/KNOWN_BUGS
/usr/share/doc/procmail/QuickStart
/usr/share/doc/procmail/README
/usr/share/doc/procmail/README.Maildir
/usr/share/doc/procmail/examples
/usr/share/doc/procmail/examples/1procmailrc
/usr/share/doc/procmail/examples/1rmail
/usr/share/doc/procmail/examples/2procmailrc
/usr/share/doc/procmail/examples/2rmail
/usr/share/doc/procmail/examples/3procmailrc
/usr/share/doc/procmail/examples/3rmail
/usr/share/doc/procmail/examples/advanced
/usr/share/doc/procmail/examples/dirname
/usr/share/doc/procmail/examples/forward
/usr/share/doc/procmail/examples/local_procmail_lmtp.m4
/usr/share/doc/procmail/examples/mailstat
/usr/share/doc/procmail/examples/procmail-rpm.spec
/usr/share/doc/procmail/telsas_procmailrc
/usr/share/man/man1/formail.1.gz
/usr/share/man/man1/lockfile.1.gz
/usr/share/man/man1/mailstat.1.gz
/usr/share/man/man1/procmail.1.gz
/usr/share/man/man5/procmailex.5.gz
/usr/share/man/man5/procmailrc.5.gz
/usr/share/man/man5/procmailsc.5.gz

References

Summary

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