opendmarc command not found

In this troubleshooting guide we learn how to fix opendmarc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

opendmarc: command not found

or when using sudo you get the following error message

sudo: opendmarc: command not found

Solutions to opendmarc: command not found

How To Fix opendmarc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu opendmarc is provided by opendmarc package.

opendmarc is:

Domain-based Message Authentication, Reporting and Conformance (DMARC), builds on the successes of technologies such as DomainKeys Identified Mail (DKIM) and the Sender Policy Framework (SPF) to create an infrastructure that enforces policy on domain names that are visible to end users, and creates a feedback framework for identifying and tracking fraudulent use of domain names in email. It uses OpenDBX as an interface layer to various SQL back ends.

It provides the following new capabilities:

A binding between the domain name seen in the From: field of a message and one or both of the domain names verified by DKIM and SPF;

The capability to request that receivers enforce strict message authentication policy published by the author; and Comprehensive reporting, both forensic and aggregate, regarding suspect messages.

This package contains the OpenDMARC mail filter (Milter) for plugging into Milter-aware MTAs. It implements support for both message reject and DMARC failure reporting.

To fix this problem, we can install more using the command below.

sudo apt-get -y install opendmarc

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install opendmarc.

sudo apt -y install opendmarc

Or if you have aptitude installed you can use the following command.

sudo aptitude install opendmarc

Summary

In this tutorial we learn how to fix opendmarc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.