How To Install procmail on Rocky Linux 8
Introduction
In this tutorial we learn how to install procmail
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install procmail.
Install procmail 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 procmail
using dnf
by running the following command:
sudo dnf -y install procmail
Install procmail 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 procmail
using yum
by running the following command:
sudo yum -y install procmail
How To Uninstall procmail on Rocky Linux 8
To uninstall only the procmail
package we can use the following command:
sudo dnf remove procmail
procmail Package Contents on Rocky Linux 8
/usr/bin/formail
/usr/bin/lockfile
/usr/bin/mailstat
/usr/bin/procmail
/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/11e154a659b6287204bf0e16de5efaeaf7f8e4
/usr/lib/.build-id/70
/usr/lib/.build-id/70/4c821ae1d054d9ec338e774328b28b67472780
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/821c99b180f6c48286645f70d2fe6f351e76d6
/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 Rocky Linux 8 using yum and dnf.