How To Install maildrop on Fedora 36

In this tutorial we learn how to install maildrop in Fedora 36. maildrop is Mail delivery agent with filtering abilities

Introduction

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

What is maildrop

maildrop is the mail filter/mail delivery agent that’s used by the Courier Mail Server. This is a standalone build of the maildrop mail filter that can be used with other mail servers. maildrop is a replacement for your local mail delivery agent. maildrop reads a mail message from standard input, then delivers the message to your mailbox. maildrop knows how to deliver mail to mbox-style mailboxes, and maildirs. maildrop optionally reads instructions from a file, which describe how to filter incoming mail. These instructions can direct maildrop to deliver the message to an alternate mailbox, or forward it somewhere else. Unlike procmail, maildrop uses a structured filtering language. maildrop is written in C++, and is significantly larger than procmail. However, it uses resources much more efficiently. Unlike procmail, maildrop will not read a 10 megabyte mail message into memory. Large messages are saved in a temporary file, and are filtered from the temporary file. If the standard input to maildrop is a file, and not a pipe, a temporary file will not be necessary. maildrop checks the mail delivery instruction syntax from the filter file, before attempting to deliver a message. Unlike procmail, if the filter file contains syntax errors, maildrop terminates without delivering the message. The user can fix the typo without causing any mail to be lost.

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

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

sudo dnf -y install maildrop

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

sudo yum -y install maildrop

How To Uninstall maildrop on Fedora 36

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

sudo dnf remove maildrop

maildrop Package Contents on Fedora 36

/usr/bin/deliverquota
/usr/bin/lockmail
/usr/bin/mailbot
/usr/bin/maildirmake
/usr/bin/maildrop
/usr/bin/makedat
/usr/bin/makedatprog
/usr/bin/makemime
/usr/bin/reformail
/usr/bin/reformime
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/734c179f1d5c224987a239e35927a139584cae
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/1e52a9e996778774a0afaf1bc10f68966654f9
/usr/lib/.build-id/22
/usr/lib/.build-id/22/d58402c575c421d91862d01e5d565aa6cfe130
/usr/lib/.build-id/63
/usr/lib/.build-id/63/0c016f57a0d673a6918d47c9c62f3a28d2d05e
/usr/lib/.build-id/79
/usr/lib/.build-id/79/4ca6b7abcb358dcdf59b83edfe4eb440bba7da
/usr/lib/.build-id/89
/usr/lib/.build-id/89/db1f8a10123d86a7b94ae1291aef98d598843e
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/fc615c15e56435243241bb80bc85497218108a
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/f4802dc8ee60ca677b30961715eeec5557fccd
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/9333a24fbb09b7a61fa4cb0a037ac399648225
/usr/share/doc/maildrop
/usr/share/doc/maildrop/AUTHORS
/usr/share/doc/maildrop/COPYING
/usr/share/doc/maildrop/COPYING.GPL
/usr/share/doc/maildrop/ChangeLog
/usr/share/doc/maildrop/README
/usr/share/doc/maildrop/README.postfix
/usr/share/doc/maildrop/UPGRADE
/usr/share/doc/maildrop/deliverquota.html
/usr/share/doc/maildrop/lockmail.html
/usr/share/doc/maildrop/mailbot.html
/usr/share/doc/maildrop/maildir.html
/usr/share/doc/maildrop/maildiracl.html
/usr/share/doc/maildrop/maildirkw.html
/usr/share/doc/maildrop/maildirmake.html
/usr/share/doc/maildrop/maildirquota.html
/usr/share/doc/maildrop/maildrop.html
/usr/share/doc/maildrop/maildropex.html
/usr/share/doc/maildrop/maildropfilter.html
/usr/share/doc/maildrop/maildropgdbm.html
/usr/share/doc/maildrop/makedat.html
/usr/share/doc/maildrop/makemime.html
/usr/share/doc/maildrop/manpage.css
/usr/share/doc/maildrop/reformail.html
/usr/share/doc/maildrop/reformime.html
/usr/share/doc/maildrop/rfc2045.html
/usr/share/doc/maildrop/rfc822.html
/usr/share/man/man1/lockmail.1.gz
/usr/share/man/man1/mailbot.1.gz
/usr/share/man/man1/maildirmake.1.gz
/usr/share/man/man1/maildrop.1.gz
/usr/share/man/man1/makedat.1.gz
/usr/share/man/man1/makemime.1.gz
/usr/share/man/man1/reformail.1.gz
/usr/share/man/man1/reformime.1.gz
/usr/share/man/man5/maildir.5.gz
/usr/share/man/man7/maildirquota.7.gz
/usr/share/man/man7/maildropex.7.gz
/usr/share/man/man7/maildropfilter.7.gz
/usr/share/man/man7/maildropgdbm.7.gz
/usr/share/man/man8/deliverquota.8.gz

References

Summary

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