How To Install fetchmail on Rocky Linux 8

In this tutorial we learn how to install fetchmail on Rocky Linux 8. fetchmail is A remote mail retrieval and forwarding utility

Introduction

In this tutorial we learn how to install fetchmail on Rocky Linux 8.

What is fetchmail

Fetchmail is a remote mail retrieval and forwarding utility intended for use over on-demand TCP/IP links, like SLIP or PPP connections. Fetchmail supports every remote-mail protocol currently in use on the Internet (POP2, POP3, RPOP, APOP, KPOP, all IMAPs, ESMTP ETRN, IPv6, and IPSEC) for retrieval. Then Fetchmail forwards the mail through SMTP so you can read it through your favorite mail client. Install fetchmail if you need to retrieve mail over SLIP or PPP connections.

We can use yum or dnf to install fetchmail on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fetchmail.

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

sudo dnf -y install fetchmail

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

sudo yum -y install fetchmail

How To Uninstall fetchmail on Rocky Linux 8

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

sudo dnf remove fetchmail

fetchmail Package Contents on Rocky Linux 8

/etc/fetchmailrc.example
/usr/bin/fetchmail
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/cc93551ef1c5f9f16f2be9a8fb15e4036760ae
/usr/lib/systemd/system/fetchmail.service
/usr/share/doc/fetchmail
/usr/share/doc/fetchmail/COPYING
/usr/share/doc/fetchmail/FAQ
/usr/share/doc/fetchmail/FEATURES
/usr/share/doc/fetchmail/NEWS
/usr/share/doc/fetchmail/NOTES
/usr/share/doc/fetchmail/README
/usr/share/doc/fetchmail/README.SSL
/usr/share/doc/fetchmail/TODO
/usr/share/locale/ca/LC_MESSAGES/fetchmail.mo
/usr/share/locale/cs/LC_MESSAGES/fetchmail.mo
/usr/share/locale/da/LC_MESSAGES/fetchmail.mo
/usr/share/locale/de/LC_MESSAGES/fetchmail.mo
/usr/share/locale/el/LC_MESSAGES/fetchmail.mo
/usr/share/locale/en_GB/LC_MESSAGES/fetchmail.mo
/usr/share/locale/eo/LC_MESSAGES/fetchmail.mo
/usr/share/locale/es/LC_MESSAGES/fetchmail.mo
/usr/share/locale/fi/LC_MESSAGES/fetchmail.mo
/usr/share/locale/fr/LC_MESSAGES/fetchmail.mo
/usr/share/locale/gl/LC_MESSAGES/fetchmail.mo
/usr/share/locale/id/LC_MESSAGES/fetchmail.mo
/usr/share/locale/it/LC_MESSAGES/fetchmail.mo
/usr/share/locale/ja/LC_MESSAGES/fetchmail.mo
/usr/share/locale/nl/LC_MESSAGES/fetchmail.mo
/usr/share/locale/pl/LC_MESSAGES/fetchmail.mo
/usr/share/locale/pt_BR/LC_MESSAGES/fetchmail.mo
/usr/share/locale/ru/LC_MESSAGES/fetchmail.mo
/usr/share/locale/sk/LC_MESSAGES/fetchmail.mo
/usr/share/locale/sq/LC_MESSAGES/fetchmail.mo
/usr/share/locale/sv/LC_MESSAGES/fetchmail.mo
/usr/share/locale/tr/LC_MESSAGES/fetchmail.mo
/usr/share/locale/vi/LC_MESSAGES/fetchmail.mo
/usr/share/locale/zh_CN/LC_MESSAGES/fetchmail.mo
/usr/share/man/man1/fetchmail.1.gz

References

Summary

In this tutorial we learn how to install fetchmail on Rocky Linux 8 using yum and dnf.