How To Install maildrop on Fedora 34
Introduction
In this tutorial we learn how to install maildrop
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install maildrop.
Install maildrop 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 maildrop
using dnf
by running the following command:
sudo dnf -y install maildrop
Install maildrop 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 maildrop
using yum
by running the following command:
sudo yum -y install maildrop
How To Uninstall maildrop on Fedora 34
To uninstall only the maildrop
package we can use the following command:
sudo dnf remove maildrop
maildrop Package Contents on Fedora 34
/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/0b
/usr/lib/.build-id/0b/1c21214a9f6500627bcfe4e98e1539520ea4a9
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/723fdffec21494235a50c64e4ee8500f08affa
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/155309f6995a125379d891d069fb71e27150f5
/usr/lib/.build-id/91
/usr/lib/.build-id/91/ba510ec86a7332ef488fc6cea9eed4ead42bde
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/9a9414b49a3edc2ed55f2679edffcb3a431fff
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/cfc28aa12d71de55861b5701ac444690221beb
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/631636ec611ba1f093c2a2a3d1a443e0e31a5d
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/749caf83174dc0f3137ffa6eff62bbb2afde4b
/usr/lib/.build-id/ec/d29085c52297c30511cfa02cfaa7c0ea40b25e
/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 34 using yum and dnf.