Tell postfix to merge three Authentication-Results:-Lines into one?

Posted by Peter on Server Fault See other posts from Server Fault or by Peter
Published on 2014-06-06T08:04:36Z Indexed on 2014/06/06 9:27 UTC
Read the original article Hit count: 364

Filed under:
|

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 [email protected]
    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 [email protected] 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

© Server Fault or respective owner

Related posts about email

Related posts about postfix