How To Install maildirproc on Fedora 34

maildirproc is Sort mail from mail boxes in the maildir format

Introduction

In this tutorial we learn how to install maildirproc on Fedora 34.

What is maildirproc

maildirproc is a program that processes one or several existing mail boxes in the maildir format. It is primarily focused on mail sorting, which means moving, copying, forwarding, and deleting mail according to a set of rules. It can be seen as an alternative to procmail, but instead of being a delivery agent (which wants to be part of the delivery chain), maildirproc only processes mail which has already been delivered. That is a feature, not a bug.

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

Install maildirproc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install maildirproc using dnf by running the following command:

sudo dnf -y install maildirproc

Install maildirproc on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install maildirproc using yum by running the following command:

sudo yum -y install maildirproc

How To Uninstall maildirproc on Fedora 34

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

sudo dnf remove maildirproc

maildirproc Package Contents on Fedora 34

/usr/bin/maildirproc
/usr/lib/python3.9/site-packages/maildirproc-1.0.1-py3.9.egg-info
/usr/share/doc/maildirproc
/usr/share/doc/maildirproc/NEWS
/usr/share/doc/maildirproc/README
/usr/share/doc/maildirproc/examples
/usr/share/doc/maildirproc/examples/bogofilter.rc
/usr/share/doc/maildirproc/examples/complex.rc
/usr/share/doc/maildirproc/examples/simple.rc
/usr/share/doc/maildirproc/examples/sketchy.rc
/usr/share/doc/maildirproc/index.html
/usr/share/doc/maildirproc/maildirproc.css
/usr/share/doc/maildirproc/reference.html
/usr/share/licenses/maildirproc
/usr/share/licenses/maildirproc/LICENSE

References

Summary

In this tutorial we learn how to install maildirproc on Fedora 34 using yum and dnf.