How To Install opendmarc on Debian 10
Introduction
In this tutorial we learn how to install opendmarc
on Debian 10.
What is opendmarc
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.
It also provides various example scripts which can be used for enhancing opendmarc.
There are three methods to install opendmarc
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install opendmarc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install opendmarc
using apt-get
by running the following command:
sudo apt-get -y install opendmarc
Install opendmarc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install opendmarc
using apt
by running the following command:
sudo apt -y install opendmarc
Install opendmarc Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install opendmarc
using aptitude
by running the following command:
sudo aptitude -y install opendmarc
How To Uninstall opendmarc on Debian 10
To uninstall only the opendmarc
package we can use the following command:
sudo apt-get remove opendmarc
Uninstall opendmarc And Its Dependencies
To uninstall opendmarc
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove opendmarc
Remove opendmarc Configurations and Data
To remove opendmarc
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge opendmarc
Remove opendmarc configuration, data, and all of its dependencies
We can use the following command to remove opendmarc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge opendmarc
Dependencies
opendmarc have the following dependencies:
References
Summary
In this tutorial we learn how to install opendmarc
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.