How To Install opendmarc on Fedora 34
Introduction
In this tutorial we learn how to install opendmarc
on Fedora 34.
What is opendmarc
OpenDMARC (Domain-based Message Authentication, Reporting & Conformance) provides an open source library that implements the DMARC verification 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. The DMARC sender authentication system is still a draft standard, working towards RFC status. The database schema required for some functions is provided in /usr/share/opendmarc/db. The rddmarc tools are provided in /usr/share/opendmarc/contrib/rddmarc.
We can use yum
or dnf
to install opendmarc
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install opendmarc.
Install opendmarc 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 opendmarc
using dnf
by running the following command:
sudo dnf -y install opendmarc
Install opendmarc 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 opendmarc
using yum
by running the following command:
sudo yum -y install opendmarc
How To Uninstall opendmarc on Fedora 34
To uninstall only the opendmarc
package we can use the following command:
sudo dnf remove opendmarc
opendmarc Package Contents on Fedora 34
/etc/opendmarc
/etc/opendmarc.conf
/etc/sysconfig/opendmarc
/etc/tmpfiles.d/opendmarc.conf
/run/opendmarc
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/278f7afcb3699bf5aefa2071c66a0ca6611892
/usr/lib/.build-id/97
/usr/lib/.build-id/97/9a5dfc7f010fc40f353331906ab43f0351e59b
/usr/lib/systemd/system/opendmarc.service
/usr/sbin/opendmarc
/usr/sbin/opendmarc-check
/usr/sbin/opendmarc-expire
/usr/sbin/opendmarc-import
/usr/sbin/opendmarc-importstats
/usr/sbin/opendmarc-params
/usr/sbin/opendmarc-reports
/usr/share/doc/opendmarc
/usr/share/doc/opendmarc/README
/usr/share/doc/opendmarc/RELEASE_NOTES
/usr/share/licenses/opendmarc
/usr/share/licenses/opendmarc/LICENSE
/usr/share/licenses/opendmarc/LICENSE.Sendmail
/usr/share/man/man5/opendmarc.conf.5.gz
/usr/share/man/man8/opendmarc-check.8.gz
/usr/share/man/man8/opendmarc-expire.8.gz
/usr/share/man/man8/opendmarc-import.8.gz
/usr/share/man/man8/opendmarc-importstats.8.gz
/usr/share/man/man8/opendmarc-params.8.gz
/usr/share/man/man8/opendmarc-reports.8.gz
/usr/share/man/man8/opendmarc.8.gz
/usr/share/opendmarc
/usr/share/opendmarc/contrib
/usr/share/opendmarc/contrib/rddmarc
/usr/share/opendmarc/contrib/rddmarc/README.rddmarc
/usr/share/opendmarc/contrib/rddmarc/dmarcfail.py
/usr/share/opendmarc/contrib/rddmarc/mkdmarc
/usr/share/opendmarc/contrib/rddmarc/mysql_ip6.c
/usr/share/opendmarc/contrib/rddmarc/rddmarc
/usr/share/opendmarc/db
/usr/share/opendmarc/db/README.schema
/usr/share/opendmarc/db/schema.mysql
/var/spool/opendmarc
/etc/opendmarc
/etc/opendmarc.conf
/etc/sysconfig/opendmarc
/etc/tmpfiles.d/opendmarc.conf
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/91b6a388c97e55fedb5f91b0778c25a8ef2e1d
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/7644c09ee7b25e1a3794a415627ba3b6d5c506
/usr/lib/systemd/system/opendmarc.service
/usr/sbin/opendmarc
/usr/sbin/opendmarc-check
/usr/sbin/opendmarc-expire
/usr/sbin/opendmarc-import
/usr/sbin/opendmarc-importstats
/usr/sbin/opendmarc-params
/usr/sbin/opendmarc-reports
/usr/share/doc/opendmarc
/usr/share/doc/opendmarc/README
/usr/share/doc/opendmarc/RELEASE_NOTES
/usr/share/licenses/opendmarc
/usr/share/licenses/opendmarc/LICENSE
/usr/share/licenses/opendmarc/LICENSE.Sendmail
/usr/share/man/man5/opendmarc.conf.5.gz
/usr/share/man/man8/opendmarc-check.8.gz
/usr/share/man/man8/opendmarc-expire.8.gz
/usr/share/man/man8/opendmarc-import.8.gz
/usr/share/man/man8/opendmarc-importstats.8.gz
/usr/share/man/man8/opendmarc-params.8.gz
/usr/share/man/man8/opendmarc-reports.8.gz
/usr/share/man/man8/opendmarc.8.gz
/usr/share/opendmarc
/usr/share/opendmarc/contrib
/usr/share/opendmarc/contrib/rddmarc
/usr/share/opendmarc/contrib/rddmarc/README.rddmarc
/usr/share/opendmarc/contrib/rddmarc/dmarcfail.py
/usr/share/opendmarc/contrib/rddmarc/mkdmarc
/usr/share/opendmarc/contrib/rddmarc/mysql_ip6.c
/usr/share/opendmarc/contrib/rddmarc/rddmarc
/usr/share/opendmarc/db
/usr/share/opendmarc/db/README.schema
/usr/share/opendmarc/db/README.update-db-schema.mysql
/usr/share/opendmarc/db/schema.mysql
/usr/share/opendmarc/db/update-db-schema.mysql
/var/run/opendmarc
/var/spool/opendmarc
References
Summary
In this tutorial we learn how to install opendmarc
on Fedora 34 using yum and dnf.