How To Install opendkim on Fedora 36

In this tutorial we learn how to install opendkim in Fedora 36. opendkim is A DomainKeys Identified Mail (DKIM) milter to sign and/or verify mail

Introduction

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

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

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

sudo dnf -y install opendkim

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

sudo yum -y install opendkim

How To Uninstall opendkim on Fedora 36

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

sudo dnf remove opendkim

opendkim Package Contents on Fedora 36

/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/19
/usr/lib/.build-id/19/781e5d797cedb491b1d4c7336eb702dd1bb7fe
/usr/lib/.build-id/65
/usr/lib/.build-id/65/e511535c4955912231121178c505bd38ef0969
/usr/lib/systemd/system/opendkim.service
/usr/lib/tmpfiles.d/opendkim.conf
/usr/sbin/opendkim
/usr/sbin/opendkim-default-keygen
/usr/sbin/opendkim-reportstats
/usr/share/doc/opendkim
/usr/share/doc/opendkim/FEATURES
/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.8.gz
/var/spool/opendkim

References

Summary

In this tutorial we learn how to install opendkim on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).