Skip to content

Parse Outlook's ARHs #423

@kiwixz

Description

@kiwixz

Hi, in #300 (comment) you suggest to open an issue to track this.

I'd be nice if the extension could parse (and trust) Authentication-Results header from Outlook. I did enable the "try non RFC compliant" option before reporting this.

Below are few samples of headers and their error:

Authentication-Results: spf=pass (sender IP is 199.16.156.157)
 smtp.mailfrom=bounce.x.com; dkim=pass (signature was verified)
 header.d=x.com;dmarc=pass action=none header.from=x.com;compauth=pass
 reason=100

18:12:46.515 DKIM_Verifier.AuthVerifier	ERROR	 Ignoring error in parsing of ARH DKIM_Error: Parsing error
    match moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/arhParser.mjs.js:354
    parse moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/arhParser.mjs.js:137
    getARHResult moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:265
    verify moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:177
    verifyMessage moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:82
    <anonymous> moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:188
authVerifier.mjs.js:267:8
    getARHResult moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:267
    verify moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:177
    verifyMessage moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:82
    <anonymous> moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:188
Authentication-Results: spf=pass (sender IP is 192.30.252.204)
 smtp.mailfrom=github.com; dkim=pass (signature was verified)
 header.d=github.com;dmarc=pass action=none
 header.from=github.com;compauth=pass reason=100

18:13:56.602 DKIM_Verifier.AuthVerifier	ERROR	 Ignoring error in parsing of ARH DKIM_Error: Parsing error
    match moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/arhParser.mjs.js:354
    parse moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/arhParser.mjs.js:137
    getARHResult moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:265
    verify moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:177
    verifyMessage moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:82
    <anonymous> moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:188
authVerifier.mjs.js:267:8
    getARHResult moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:267
    verify moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/modules/authVerifier.mjs.js:177
    verifyMessage moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:82
    <anonymous> moz-extension://67e4b14e-52c2-4c9a-9c7c-b8b4f02a4720/content/background.mjs.js:188

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements or new features

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions