-
Notifications
You must be signed in to change notification settings - Fork 36
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
Relax parsing of the Authentication-Results
header
#79
Comments
Thanks for reporting it. The Problem is the Note that, if I understand the RFC 7601 correctly, the |
Just noticed that Outlook does the same thing with Zoho. Here is an example of an
Seems like you are right about the violation of the RFC standard, but considering the fact that we can't actually do anything about it shouldn't we follow a less strict approach during parsing? Also, apart from the |
Although admittedly maybe not the most user friendly, the strict parsing is intentionally (if all verifiers ignore RFC violations, the signers have no motivation to follow them (or even notice them)). But I could introduce an option to relax the parsing. The reading of the |
Authentication-Results
header doesn’t seem to be working with Zoho Mail.Authentication-Results
header
That sounds like a great idea and I completely agree, the user should have the option to chose between a relaxed or a strict validation mode. Furthermore, I think it should be better to have strict mode enabled by default and allow the user to manually disable it for the problematic servers. A global option would also be good to exist, but not enabled by default. |
The new pre release v2.0.0pre4 has an advanced option for relaxed parsing. Note that the ARH from Outlook that you posted will still not work, as there the |
Relax the parsing to allow some common RFC violations:
;
at the end/
in the b-tag, even if it is not in a quoted-string (DKIM_Verifier.AuthVerifier Parsing error #49, DMARC status sometimes not shown when it should be #71)Bellow original post:
Hello,
Looks like there is an issue with parsing the
Authentication-Results
header as it is set by the Zoho mail server.For isolating the issue and preventing any confusion I have unchecked the
Verify DKIM Signatures
setting. Here is the resulting debug output.And here are the email headers of the same email, note though that I have obscured the domain of my server with
example.com
, as well as its IP address withx.x.x.x
.The extension reports
No Signature
on the DKIM field, which is to be expected I guess because the verification of the DKIM is disabled and Zoho doesn't verify DKIM, but the information about the SPF is also missing.The text was updated successfully, but these errors were encountered: