Add DMARC record to existing domains in DirectAdmin

By | June 30, 2018

DMARC is built on top of two existing mechanisms, Sender Policy Framework (SPF) and DomainKeys Identified Mail (DKIM). It allows the administrative owner of a domain to publish a policy on which mechanism (DKIM, SPF or both) is employed when sending email from that domain and how the receiver should deal with failures. Additionally, it provides a reporting mechanism of actions performed under those policies. It thus coordinates the results of DKIM and SPF and specifies under which circumstances the From: header field, which is often visible to end users, should be considered legitimate.

Once you have SPF and DKIM records added to your DirectAdmin DNS zones you probably also want to implement this.

This guide shows you how to implement DKIM:

The implementation of DMARC is not that well documented. This page tells you how to implement DMARC for new domains but there is no solution given for existing domains.

To implement DMARC for existing domains in DirectAdmin run the following code (on your own responsibility).

(We decided to turn off email reports, if you need a different value in the DNS zone then replace the bold part).

Now all domains contain this new record:

dmarc record in DirectAdmin

You can check if your record is valid on this page.

One thought on “Add DMARC record to existing domains in DirectAdmin

Leave a Reply

Your email address will not be published. Required fields are marked *