How To Install procmail.x86_64 on Amazon Linux 2

In this tutorial we learn how to install procmail.x86_64 in Amazon Linux 2. procmail.x86_64 is Mail processing program

Introduction

In this tutorial we learn how to install procmail.x86_64 on Amazon Linux 2.

What is procmail.x86_64

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

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

sudo yum -y install procmail.x86_64

How To Uninstall procmail.x86_64 on Amazon Linux 2

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

sudo yum remove procmail.x86_64

procmail.x86_64 Package Contents on Amazon Linux 2

/usr/bin/formail
/usr/bin/lockfile
/usr/bin/mailstat
/usr/bin/procmail
/usr/share/doc/procmail-3.22
/usr/share/doc/procmail-3.22/Artistic
/usr/share/doc/procmail-3.22/COPYING
/usr/share/doc/procmail-3.22/FAQ
/usr/share/doc/procmail-3.22/FEATURES
/usr/share/doc/procmail-3.22/HISTORY
/usr/share/doc/procmail-3.22/KNOWN_BUGS
/usr/share/doc/procmail-3.22/QuickStart
/usr/share/doc/procmail-3.22/README
/usr/share/doc/procmail-3.22/README.Maildir
/usr/share/doc/procmail-3.22/examples
/usr/share/doc/procmail-3.22/examples/1procmailrc
/usr/share/doc/procmail-3.22/examples/1rmail
/usr/share/doc/procmail-3.22/examples/2procmailrc
/usr/share/doc/procmail-3.22/examples/2rmail
/usr/share/doc/procmail-3.22/examples/3procmailrc
/usr/share/doc/procmail-3.22/examples/3rmail
/usr/share/doc/procmail-3.22/examples/advanced
/usr/share/doc/procmail-3.22/examples/dirname
/usr/share/doc/procmail-3.22/examples/forward
/usr/share/doc/procmail-3.22/examples/local_procmail_lmtp.m4
/usr/share/doc/procmail-3.22/examples/mailstat
/usr/share/doc/procmail-3.22/examples/procmail-rpm.spec
/usr/share/doc/procmail-3.22/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.x86_64 on Amazon Linux 2 using yum.