DKIM + DMARC with Contact Forms?

From: Steve Jenkins <>
Date: Sun, 29 Dec 2013 16:54:07 -0700

We use a contact form on one of our websites (it's a custom PHP form we
created) to send feedback.

Here's one of the headers from a test message. Assume is my
personal email address where stuff gets forwarded to me.

Received: by with SMTP id bq4csp124338qab;
        Sun, 29 Dec 2013 15:44:04 -0800 (PST)
X-Received: by with SMTP id s10mr65932936pab.86.1388360644231;
        Sun, 29 Dec 2013 15:44:04 -0800 (PST)
Return-Path: <>
Received: from ( [])
        by with ESMTPS id yd9si31684848pab.118.2013.
        for <multiple recipients>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Sun, 29 Dec 2013 15:44:04 -0800 (PST)
Received-SPF: pass ( domain of
designates as permitted sender) client-ip=;
       spf=pass ( domain of
designates as permitted sender);
       dmarc=fail (p=NONE dis=NONE)
Received: by (Postfix)
        id 84D03148070; Sun, 29 Dec 2013 15:44:03 -0800 (PST)
Received: from ( [])
        by (Postfix) with ESMTP id 748DB14806B
        for <>; Sun, 29 Dec 2013 15:44:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;;
        s=default; t=1388360643;
Received: from (localhost.localdomain [])
        by (Postfix) with ESMTP id 0C8E29B00B8
        for <>; Sun, 29 Dec 2013 15:44:03 -0800 (PST)
Received: (from apache_at_localhost)
        by (8.13.8/8.13.8/Submit) id rBTNi39B009974;
        Sun, 29 Dec 2013 15:44:03 -0800
Date: Sun, 29 Dec 2013 15:44:03 -0800
Message-Id: <>
Subject: [CheatCodes] Feedback from BLAH BLAH
X-PHP-Originating-Script: 0:contact_online.php

The From: and Reply-To: are based on what the user enters into the web
form, making it easy for us to simply reply to the incoming email.
However, we're seeing a dmarc=fail -- and I'm assuming it's because
the The spf=pass and dkim=pass (because
OpenDKIM signs anything leaving, and I'm
under the false assumption that if either spf or dkim passes, that
meant a dmarc pass.

Any ideas on how we can configure so that we get a dmarc=pass?


Received on Sun Dec 29 2013 - 23:54:22 PST

This archive was generated by hypermail 2.3.0 : Mon Dec 30 2013 - 00:00:02 PST