Tell postfix to merge three Authentication-Results:-Lines into one?
- by Peter
I am running a postfix mta with debian wheezy. I am using postfix-policyd-spf-python, openkdim and opendmarc. When receiving e-mails from google (google apps with own domain) for example, the header looks like this:
[...]
Authentication-Results: mail.xx.de; dkim=pass
reason="1024-bit key; insecure key"
header.d=yyy.com header.i=@yyy.com
header.b=OswLe0N+; dkim-adsp=pass; dkim-atps=neutral<br>
[...]
Authentication-Results: mail.xx.de; spf=pass (sender SPF authorized) smtp.mailfrom=yyy.com (client-ip=2a00:1450:400c:c00::242; helo=mail-wg0-x242.google.com; [email protected]; [email protected])
[...]
Authentication-Results: mail.xx.de; dmarc=pass header.from=yyy.com<br>
[...]
This means any of these programs creates it's own Authentication-Results:-Line.
Is it possible to tell postfix to merge this into one single Authentication-Results:-Line?
When I send an e-mail to google, it says:
[...]
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of mail@xxx.com designates xxx.xxx.xxx.xxx as permitted sender) [email protected];
dkim=pass [email protected];
dmarc=pass (p=NONE dis=NONE) header.from=xxx.com
[...]
And this is exactly what I want. Just one Authentication-Results-Header.
How can I do this?
Thanks.
Regards,
Peter