From 164b2a98ab18b4218a29ea9910a803f77906278b Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 30 Oct 2025 10:08:53 +0700 Subject: [PATCH] DKIM result can be invalid --- api/openapi.yaml | 2 +- web/src/lib/components/AuthenticationCard.svelte | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index f5eb96a..7d2ec2c 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -694,7 +694,7 @@ components: properties: result: type: string - enum: [pass, fail, none, neutral, softfail, temperror, permerror, declined] + enum: [pass, fail, invalid, missing, none, neutral, softfail, temperror, permerror, declined] description: Authentication result example: "pass" domain: diff --git a/web/src/lib/components/AuthenticationCard.svelte b/web/src/lib/components/AuthenticationCard.svelte index 2db5cbe..285b045 100644 --- a/web/src/lib/components/AuthenticationCard.svelte +++ b/web/src/lib/components/AuthenticationCard.svelte @@ -19,6 +19,7 @@ return "text-success"; case "fail": case "missing": + case "invalid": return "text-danger"; case "softfail": case "neutral": @@ -40,6 +41,7 @@ return "bi-x-circle-fill"; case "softfail": case "neutral": + case "invalid": return "bi-exclamation-circle-fill"; case "missing": return "bi-dash-circle-fill";