[opendmarc-users] formatting the Authentication-Results header?

jasonsu at mail-central.com jasonsu at mail-central.com
Thu Apr 7 09:46:58 PDT 2016


I'm using Authentication-Results headers for dmarc, dkim & spf in a postfix setup.

In received mail,

from opendmarc

	Authentication-Results: dmarc.mail01.example.com/3qgp2j0dHsz2yn2; dmarc=none header.from=gmail.com

from amavisd/dkim

	Authentication-Results: dkim.mail01.example.com (amavisd-new);
		dkim=pass (2048-bit key) header.d=gmail.com

from policyd-spf

	Authentication-Results: spf.mail01.example.com; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.192.194; helo=mail-pf0-f194.google.com; envelope-from=exampleme at gmail.com; receiver=exampleme at example.com)

I prefer 'neat' test headers, with the status/results wrapped to a new line.  This way I can do visual scans of email headers really quickly.

For me, ideally, it'd be

	Authentication-Results: dmarc.mail01.example.com/3qgp2j0dHsz2yn2;
		dmarc=none header.from=gmail.com

	Authentication-Results: dkim.mail01.example.com (amavisd-new);
		dkim=pass (2048-bit key) header.d=gmail.com

	Authentication-Results: spf.mail01.example.com;
		spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.192.194; helo=mail-pf0-f194.google.com; envelope-from=exampleme at gmail.com; receiver=exampleme at example.com)

Is it possible to specify/modify the format of Opendkim's appended header?

 I'll need to ask the same question for policyd-spf.  Amavis seems to take care of it already.

Jason


More information about the opendmarc-users mailing list