[opendmarc-users] Combining Authentication-Results

Chris Nagele nagele at wildbit.com
Thu Mar 2 11:25:58 PST 2017


This is related to OpenDMARC and OpenDKIM. I am using Postfix to add
auth results headers to inbound messages. It's working well for dmarc,
spf, and dkim. The only issue I have now is readability. Since each
test creates its own header (and runs as a separate service), reading
the result is more difficult.

Has anyone figured out how to combine the dmarc, spf, and dkim results
into one header like Gmail does? For instance, my results look
something like this:

Authentication-Results: hostname; dmarc=pass (p=none dis=none)
header.from=example.com
Authentication-Results: hostname; spf=pass smtp.mailfrom=user at example.com
Authentication-Results: hostname;
    dkim=pass (2048-bit key) header.d=example.com
header.i=user at example.com header.b="DNzxyzHlzB";
    dkim=pass (2048-bit key) header.d=esp.com header.i=@esp.com
header.b="DNxyzHlzB"

And I would love for it to look like this:

Authentication-Results: hostname;
    dmarc=pass (p=none dis=none) header.from=example.com
    spf=pass smtp.mailfrom=user at example.com
    dkim=pass (2048-bit key) header.d=example.com
header.i=user at example.com header.b="DNzxyzHlzB";
    dkim=pass (2048-bit key) header.d=esp.com header.i=@esp.com
header.b="DNxyzHlzB"

Thanks,
Chris


More information about the opendmarc-users mailing list