How To Install exim on Fedora 34
Introduction
In this tutorial we learn how to install exim
on Fedora 34.
What is exim
Exim is a message transfer agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the Internet. It is freely available under the terms of the GNU General Public Licence. In style it is similar to Smail 3, but its facilities are more general. There is a great deal of flexibility in the way mail can be routed, and there are extensive facilities for checking incoming mail. Exim can be installed in place of sendmail, although the configuration of exim is quite different to that of sendmail.
We can use yum
or dnf
to install exim
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install exim.
Install exim 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 exim
using dnf
by running the following command:
sudo dnf -y install exim
Install exim 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 exim
using yum
by running the following command:
sudo yum -y install exim
How To Uninstall exim on Fedora 34
To uninstall only the exim
package we can use the following command:
sudo dnf remove exim
exim Package Contents on Fedora 34
/etc/cron.daily/exim-tidydb
/etc/exim
/etc/exim/exim.conf
/etc/exim/trusted-configs
/etc/logrotate.d/exim
/etc/pam.d/exim
/etc/pam.d/smtp
/etc/pki/tls/certs/exim.pem
/etc/pki/tls/private/exim.pem
/etc/sysconfig/exim
/usr/bin/mailq
/usr/bin/mailq.exim
/usr/bin/newaliases
/usr/bin/newaliases.exim
/usr/bin/rmail
/usr/bin/rmail.exim
/usr/bin/rsmtp
/usr/bin/rsmtp.exim
/usr/bin/runq
/usr/bin/runq.exim
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/e5f7e0cc0083e500063d6da19fa95319d552c1
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/a0831066eab10167d29272f1c30b9bd3012361
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/e717ae032ef8b3700fc75007651947cf8dbdd0
/usr/lib/.build-id/62
/usr/lib/.build-id/62/8984aac4c5182b9f68d2b9cc5ae9335c5b0dd4
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/6a60785edfa6d723226de50281ca10cfbcf772
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/d74f8228dbde6b667b7a409c21f95d5ca9d14b
/usr/lib/sendmail
/usr/lib/sendmail.exim
/usr/lib/systemd/system/exim.service
/usr/lib64/exim
/usr/lib64/exim/4.94-7.fc34
/usr/lib64/exim/4.94-7.fc34/lookups
/usr/libexec/exim-gen-cert
/usr/sbin/convert4r4
/usr/sbin/exicyclog
/usr/sbin/exigrep
/usr/sbin/exim
/usr/sbin/exim_checkaccess
/usr/sbin/exim_dbmbuild
/usr/sbin/exim_dumpdb
/usr/sbin/exim_fixdb
/usr/sbin/exim_lock
/usr/sbin/exim_tidydb
/usr/sbin/eximstats
/usr/sbin/exinext
/usr/sbin/exipick
/usr/sbin/exiqgrep
/usr/sbin/exiqsumm
/usr/sbin/exiwhat
/usr/sbin/sendmail
/usr/sbin/sendmail.exim
/usr/share/doc/exim
/usr/share/doc/exim/ACKNOWLEDGMENTS
/usr/share/doc/exim/README
/usr/share/doc/exim/README.UPDATING
/usr/share/doc/exim/doc
/usr/share/doc/exim/doc/ChangeLog
/usr/share/doc/exim/doc/DANE-draft-notes
/usr/share/doc/exim/doc/Exim3.upgrade
/usr/share/doc/exim/doc/Exim4.upgrade
/usr/share/doc/exim/doc/GnuTLS-FAQ.txt
/usr/share/doc/exim/doc/NewStuff
/usr/share/doc/exim/doc/OptionLists.txt
/usr/share/doc/exim/doc/README
/usr/share/doc/exim/doc/README.SIEVE
/usr/share/doc/exim/doc/cve-2016-9663.txt
/usr/share/doc/exim/doc/cve-2019-13917.txt
/usr/share/doc/exim/doc/cve-2019-15846
/usr/share/doc/exim/doc/cve-2019-15846/cve.txt
/usr/share/doc/exim/doc/cve-2019-15846/mitre.mbx
/usr/share/doc/exim/doc/cve-2019-15846/posting-0.txt
/usr/share/doc/exim/doc/cve-2019-15846/posting-1.txt
/usr/share/doc/exim/doc/cve-2019-15846/posting-2.txt
/usr/share/doc/exim/doc/cve-2019-15846/qualys.mbx
/usr/share/doc/exim/doc/dbm.discuss.txt
/usr/share/doc/exim/doc/exim.8
/usr/share/doc/exim/doc/experimental-spec.txt
/usr/share/doc/exim/doc/filter.txt
/usr/share/doc/exim/doc/openssl.txt
/usr/share/doc/exim/doc/spec.txt
/usr/share/doc/exim/unknownuser.sh
/usr/share/licenses/exim
/usr/share/licenses/exim/LICENCE
/usr/share/licenses/exim/NOTICE
/usr/share/man/man1/mailq.1.gz
/usr/share/man/man8/exim.8.gz
/usr/share/man/man8/eximstats.8.gz
/var/log/exim
/var/spool/exim
/var/spool/exim/db
/var/spool/exim/input
/var/spool/exim/msglog
/etc/cron.daily/exim-tidydb
/etc/exim
/etc/exim/exim.conf
/etc/exim/trusted-configs
/etc/logrotate.d/exim
/etc/pam.d/exim
/etc/pam.d/smtp
/etc/pki/tls/certs/exim.pem
/etc/pki/tls/private/exim.pem
/etc/sysconfig/exim
/usr/bin/mailq
/usr/bin/mailq.exim
/usr/bin/newaliases
/usr/bin/newaliases.exim
/usr/bin/rmail
/usr/bin/rmail.exim
/usr/bin/rsmtp
/usr/bin/rsmtp.exim
/usr/bin/runq
/usr/bin/runq.exim
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/e1ec15b1386801869ecc85aaa5c2ba17d673f4
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/f657517d64e0e7ced5a282e7ef388236309e77
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/fa1c6ef092c637cd5a95a5b3ffbed5011e559b
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/c9450bb8ef02dc4c5d44b6e8cedd3710e09375
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/2c20e1e3ecbab34e113c7998b4669927eb41b1
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/bc43af8162ce5e6499693eba35b984182625e6
/usr/lib/sendmail
/usr/lib/sendmail.exim
/usr/lib/systemd/system/exim.service
/usr/lib64/exim
/usr/lib64/exim/4.94.2-2.fc34
/usr/lib64/exim/4.94.2-2.fc34/lookups
/usr/libexec/exim-gen-cert
/usr/sbin/convert4r4
/usr/sbin/exicyclog
/usr/sbin/exigrep
/usr/sbin/exim
/usr/sbin/exim_checkaccess
/usr/sbin/exim_dbmbuild
/usr/sbin/exim_dumpdb
/usr/sbin/exim_fixdb
/usr/sbin/exim_lock
/usr/sbin/exim_tidydb
/usr/sbin/eximstats
/usr/sbin/exinext
/usr/sbin/exipick
/usr/sbin/exiqgrep
/usr/sbin/exiqsumm
/usr/sbin/exiwhat
/usr/sbin/sendmail
/usr/sbin/sendmail.exim
/usr/share/doc/exim
/usr/share/doc/exim/ACKNOWLEDGMENTS
/usr/share/doc/exim/README
/usr/share/doc/exim/README.UPDATING
/usr/share/doc/exim/doc
/usr/share/doc/exim/doc/ChangeLog
/usr/share/doc/exim/doc/DANE-draft-notes
/usr/share/doc/exim/doc/Exim3.upgrade
/usr/share/doc/exim/doc/Exim4.upgrade
/usr/share/doc/exim/doc/GnuTLS-FAQ.txt
/usr/share/doc/exim/doc/NewStuff
/usr/share/doc/exim/doc/OptionLists.txt
/usr/share/doc/exim/doc/README
/usr/share/doc/exim/doc/README.SIEVE
/usr/share/doc/exim/doc/cve-2016-9663.txt
/usr/share/doc/exim/doc/cve-2019-13917.txt
/usr/share/doc/exim/doc/cve-2019-15846
/usr/share/doc/exim/doc/cve-2019-15846/cve.txt
/usr/share/doc/exim/doc/cve-2019-15846/mitre.mbx
/usr/share/doc/exim/doc/cve-2019-15846/posting-0.txt
/usr/share/doc/exim/doc/cve-2019-15846/posting-1.txt
/usr/share/doc/exim/doc/cve-2019-15846/posting-2.txt
/usr/share/doc/exim/doc/cve-2019-15846/qualys.mbx
/usr/share/doc/exim/doc/cve-2020-qualys.txt
/usr/share/doc/exim/doc/dbm.discuss.txt
/usr/share/doc/exim/doc/exim.8
/usr/share/doc/exim/doc/experimental-spec.txt
/usr/share/doc/exim/doc/filter.txt
/usr/share/doc/exim/doc/openssl.txt
/usr/share/doc/exim/doc/spec.txt
/usr/share/doc/exim/unknownuser.sh
/usr/share/licenses/exim
/usr/share/licenses/exim/LICENCE
/usr/share/licenses/exim/NOTICE
/usr/share/man/man1/mailq.1.gz
/usr/share/man/man8/exim.8.gz
/usr/share/man/man8/eximstats.8.gz
/var/log/exim
/var/spool/exim
/var/spool/exim/db
/var/spool/exim/input
/var/spool/exim/msglog
References
Summary
In this tutorial we learn how to install exim
on Fedora 34 using yum and dnf.