Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when opening DMARC reports #215

Open
soheilpro opened this issue Sep 18, 2024 · 3 comments
Open

Error when opening DMARC reports #215

soheilpro opened this issue Sep 18, 2024 · 3 comments

Comments

@soheilpro
Copy link

I get this error when I try to view the DMARC reports for one of my domains:

Error:
result[51].Records[0].AuthResults.DKIM[0].Result: unknown value unknown for named strings DKIMResult
@RobSlgm
Copy link

RobSlgm commented Sep 19, 2024

@soheilpro Which version are you using? Looks similar to #161, but related to DKIM not SPF.

Could you post the DMARC report (see #176 as example)?

@soheilpro
Copy link
Author

Here's the report:

{
  "ID": 870,
  "Domain": "[REDACTED]",
  "FromDomain": "dmarc.inexio.net",
  "Version": "",
  "ReportMetadata": {
    "OrgName": "inexio.net",
    "Email": "[email protected]",
    "ExtraContactInfo": "",
    "ReportID": "[REDACTED]:1726351500",
    "DateRange": {
      "Begin": 1726264800,
      "End": 1726351200
    },
    "Errors": null
  },
  "PolicyPublished": {
    "Domain": "[REDACTED]",
    "ADKIM": "r",
    "ASPF": "r",
    "Policy": "reject",
    "SubdomainPolicy": "reject",
    "Percentage": 100,
    "ReportingOptions": ""
  },
  "Records": [
    {
      "Row": {
        "SourceIP": "54.240.9.40",
        "Count": 1,
        "PolicyEvaluated": {
          "Disposition": "none",
          "DKIM": "pass",
          "SPF": "fail",
          "Reasons": null
        }
      },
      "Identifiers": {
        "EnvelopeTo": "",
        "EnvelopeFrom": "",
        "HeaderFrom": "[REDACTED]"
      },
      "AuthResults": {
        "DKIM": [
          {
            "Domain": "[REDACTED]",
            "Selector": "",
            "Result": "unknown",
            "HumanResult": ""
          },
          {
            "Domain": "amazonses.com",
            "Selector": "",
            "Result": "unknown",
            "HumanResult": ""
          }
        ],
        "SPF": [
          {
            "Domain": "mail.[REDACTED]",
            "Scope": "",
            "Result": "softfail"
          }
        ]
      }
    },
    {
      "Row": {
        "SourceIP": "54.240.9.40",
        "Count": 1,
        "PolicyEvaluated": {
          "Disposition": "none",
          "DKIM": "pass",
          "SPF": "fail",
          "Reasons": null
        }
      },
      "Identifiers": {
        "EnvelopeTo": "",
        "EnvelopeFrom": "",
        "HeaderFrom": "[REDACTED]"
      },
      "AuthResults": {
        "DKIM": [
          {
            "Domain": "[REDACTED]",
            "Selector": "",
            "Result": "unknown",
            "HumanResult": ""
          },
          {
            "Domain": "amazonses.com",
            "Selector": "",
            "Result": "unknown",
            "HumanResult": ""
          }
        ],
        "SPF": [
          {
            "Domain": "mail.[REDACTED]",
            "Scope": "",
            "Result": "softfail"
          }
        ]
      }
    }
  ]
}

@mjl-
Copy link
Owner

mjl- commented Sep 20, 2024

Indeed, the "Result": "unknown", isn't valid.
The problem (that mox shows an error message) is fixed with a2c9cfc, which still has to make it into a release...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants