How To Install opendmarc on CentOS 7

In this tutorial we learn how to install opendmarc on CentOS 7. opendmarc is A Domain-based Message Authentication, Reporting & Conformance

Introduction

In this tutorial we learn how to install opendmarc on CentOS 7.

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

Install opendmarc on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install opendmarc using yum by running the following command:

sudo yum -y install opendmarc

Install opendmarc on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install opendmarc using dnf by running the following command:

sudo dnf -y install opendmarc

How To Uninstall opendmarc on CentOS 7

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

sudo dnf remove opendmarc

References

Summary

In this tutorial we learn how to install opendmarc on CentOS 7 using yum and dnf.