这是indexloc提供的服务,不要输入任何密码
Skip to content

Error parsing AR headers from OpenDKIM: msgauth: malformed authentication method and value #74

@n-peugnet

Description

@n-peugnet

Thank you for your very useful libraries. I used them to implement a custom milter server but I get quite a lot of parsing errors of Authentication-Results headers from OpenDKIM, with the error message: msgauth: malformed authentication method and value.

Here is an example log of my custom milter server:

2025/05/23 16:41:33 failed to parse header: msgauth: malformed authentication method and value:
Authentication-Results: mail.club1.fr;
        dkim=pass (2048-bit key; unprotected) header.d=free.fr header.i=@free.fr header.a=rsa-sha256 header.s=smtp-20201208 header.b=OnHOkkuR;
        dkim-atps=neutral
2025/05/23 16:59:00 failed to parse header: msgauth: malformed authentication method and value:
Authentication-Results: mail.club1.fr;
        dkim=pass (2048-bit key; secure) header.d=debian.org header.i=@debian.org header.a=rsa-sha256 header.s=smtpauto.stravinsky header.b=OXOp3wDG;
        dkim-atps=neutral
2025/05/23 17:16:35 failed to parse header: msgauth: malformed authentication method and value:
Authentication-Results: mail.club1.fr;
        dkim=pass (2048-bit key; unprotected) header.d=fastmail.fm header.i=@fastmail.fm header.a=rsa-sha256 header.s=fm1 header.b=2uY7uHH/;
        dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=FiLgFwVc;
        dkim-atps=neutral

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions