How To Install imapfilter on Fedora 36

In this tutorial we learn how to install imapfilter in Fedora 36. imapfilter is A flexible client side mail filtering utility for IMAP servers

Introduction

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

What is imapfilter

IMAPFilter is a mail filtering utility. It connects to remote mail servers using the Internet Message Access Protocol (IMAP), sends searching queries to the server and processes mailboxes based on the results. It can be used to delete, copy, move, flag, etc. messages residing in mailboxes at the same or different mail servers. The 4rev1 and 4 versions of the IMAP protocol are supported.

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

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

sudo dnf -y install imapfilter

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

sudo yum -y install imapfilter

How To Uninstall imapfilter on Fedora 36

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

sudo dnf remove imapfilter

imapfilter Package Contents on Fedora 36

/usr/bin/imapfilter
/usr/lib/.build-id
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/c85e58026e530172a097112de1f8fb181703c3
/usr/share/doc/imapfilter
/usr/share/doc/imapfilter/LICENSE
/usr/share/doc/imapfilter/README
/usr/share/imapfilter
/usr/share/imapfilter/account.lua
/usr/share/imapfilter/auxiliary.lua
/usr/share/imapfilter/common.lua
/usr/share/imapfilter/mailbox.lua
/usr/share/imapfilter/message.lua
/usr/share/imapfilter/options.lua
/usr/share/imapfilter/regex.lua
/usr/share/imapfilter/set.lua
/usr/share/man/man1/imapfilter.1.gz
/usr/share/man/man5/imapfilter_config.5.gz

References

Summary

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