How To Install fetchmail on CentOS 8
Introduction
In this tutorial we learn how to install fetchmail
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install fetchmail.
Install fetchmail on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install fetchmail
using dnf
by running the following command:
sudo dnf -y install fetchmail
Install fetchmail on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the fetchmail
package we can use the following command:
sudo dnf remove fetchmail
fetchmail Package Contents on CentOS 8
/etc/fetchmailrc.example
/usr/bin/fetchmail
/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/4ac944dfa75b628c148353ca8ee2bc689f5f05
/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 CentOS 8 using yum and dnf.