From c4cf84882633bb092529f69df2af733587a16a6e Mon Sep 17 00:00:00 2001
From: Jean-Sebastien Legare <jslegare@cs.ubc.ca>
Date: Thu, 7 Sep 2017 17:01:34 -0700
Subject: [PATCH] [opendmarc] Skip dmarc checks for email sent over
 authenticated sockets

   opendmarc checks fail for mail sent over (SMTP AUTH) submission
   ports. Adding this directive skips checks for those emails, and
   clears the logs of related errors.

   See https://github.com/tomav/docker-mailserver/issues/703
---
 target/opendmarc/opendmarc.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/opendmarc/opendmarc.conf b/target/opendmarc/opendmarc.conf
index 28177eaf..efdbc4bb 100644
--- a/target/opendmarc/opendmarc.conf
+++ b/target/opendmarc/opendmarc.conf
@@ -10,3 +10,5 @@ HistoryFile  /var/run/opendmarc/opendmarc.dat
 
 AuthservID          HOSTNAME
 TrustedAuthservIDs  HOSTNAME
+
+IgnoreAuthenticatedClients true