How To Install opendkim on Rocky Linux 8
Introduction
In this tutorial we learn how to install opendkim
on Rocky Linux 8.
What is opendkim
OpenDKIM allows signing and/or verification of email through an open source library that implements the DKIM service, plus a milter-based filter application that can plug in to any milter-aware MTA, including sendmail, Postfix, or any other MTA that supports the milter protocol.
We can use yum
or dnf
to install opendkim
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install opendkim.
Install opendkim 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 opendkim
using dnf
by running the following command:
sudo dnf -y install opendkim
Install opendkim 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 opendkim
using yum
by running the following command:
sudo yum -y install opendkim
How To Uninstall opendkim on Rocky Linux 8
To uninstall only the opendkim
package we can use the following command:
sudo dnf remove opendkim
opendkim Package Contents on Rocky Linux 8
/etc/opendkim
/etc/opendkim.conf
/etc/opendkim/KeyTable
/etc/opendkim/SigningTable
/etc/opendkim/TrustedHosts
/etc/opendkim/keys
/etc/sysconfig/opendkim
/run/opendkim
/usr/bin/miltertest
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/d274c1989ece2d26be2f9c95e42c5b37e40bf1
/usr/lib/.build-id/71
/usr/lib/.build-id/71/d3955469ec0e3ebe7c0f4f6685262bf6a0c9ea
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/4c13390fff3a5eef9c7014c077e61e57b5d77f
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/a1a3acc8fcb2c8c57d789dc422a82949462202
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/b8c2046a3f9f610c3b337fb9f8d0d5bb74e4be
/usr/lib/systemd/system/opendkim.service
/usr/lib/tmpfiles.d/opendkim.conf
/usr/sbin/opendkim
/usr/sbin/opendkim-default-keygen
/usr/sbin/opendkim-genkey
/usr/sbin/opendkim-genzone
/usr/sbin/opendkim-reportstats
/usr/sbin/opendkim-testkey
/usr/sbin/opendkim-testmsg
/usr/share/doc/opendkim
/usr/share/doc/opendkim/FEATURES
/usr/share/doc/opendkim/INSTALL
/usr/share/doc/opendkim/KNOWNBUGS
/usr/share/doc/opendkim/README
/usr/share/doc/opendkim/README.fedora
/usr/share/doc/opendkim/RELEASE_NOTES
/usr/share/doc/opendkim/RELEASE_NOTES.Sendmail
/usr/share/doc/opendkim/authheaders-check-setup-hook.lua
/usr/share/doc/opendkim/convert_keylist.sh
/usr/share/doc/opendkim/final.lua.sample
/usr/share/doc/opendkim/opendkim.conf.sample
/usr/share/doc/opendkim/opendkim.conf.simple
/usr/share/doc/opendkim/opendkim.conf.simple-verify
/usr/share/doc/opendkim/screen.lua.sample
/usr/share/doc/opendkim/setup.lua.sample
/usr/share/licenses/opendkim
/usr/share/licenses/opendkim/LICENSE
/usr/share/licenses/opendkim/LICENSE.Sendmail
/usr/share/man/man3/opendkim-lua.3.gz
/usr/share/man/man5/opendkim.conf.5.gz
/usr/share/man/man8/miltertest.8.gz
/usr/share/man/man8/opendkim-genkey.8.gz
/usr/share/man/man8/opendkim-genzone.8.gz
/usr/share/man/man8/opendkim-testkey.8.gz
/usr/share/man/man8/opendkim-testmsg.8.gz
/usr/share/man/man8/opendkim.8.gz
/var/spool/opendkim
References
Summary
In this tutorial we learn how to install opendkim
on Rocky Linux 8 using yum and dnf.