How To Install exim on Fedora 36

In this tutorial we learn how to install exim in Fedora 36. exim is The exim mail transfer agent

Introduction

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

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 36. In this tutorial we discuss both methods but you only need to choose one of method to install exim.

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

sudo dnf -y install exim

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

sudo yum -y install exim

How To Uninstall exim on Fedora 36

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

sudo dnf remove exim

exim Package Contents on Fedora 36

/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/15
/usr/lib/.build-id/15/a6f51d52b099552149fd77807f32b60811b74d
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/5a4984814de2c4c52232bad84f44fd59c8d7aa
/usr/lib/.build-id/76
/usr/lib/.build-id/76/86da1a92689ee45313f89fe9266c9689ab3e20
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/04a85af1ed12d89e4937b6cb8ec5cb503108f1
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/a26975df015dda27a1009f6b024229f0e5d05e
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/26223066ea717bb2197262082d685cd4100ec5
/usr/lib/sendmail
/usr/lib/sendmail.exim
/usr/lib/systemd/system/exim.service
/usr/lib64/exim
/usr/lib64/exim/4.95-3.fc36
/usr/lib64/exim/4.95-3.fc36/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 36 using yum and [dnf]((/fedora/36/dnf/).