-
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
Authentication Results parser fails if smtp.remote-ip/policy.iprev contains an IPv6 address #436
Comments
Thanks for the detailed report. The problem are the
As you write yourself, this should not be a problem. |
Only to get that right... you mean according to RFC 8601:2.2. Formal Definition: .... which more or less refers back to RFC5322:3.2.3 Atom ... where dot-atom-atext allows IPv4 addresses, but not IPv6 addresses which needs to be quoted because "specials,, qtext, ...." count. If I got it right I'll take this to the Exim people ... maybe with a patch in hand;-) |
That part is correct, unsure how you are coming to the dot-atom-atext. From https://datatracker.ietf.org/doc/html/rfc2045#section-5.1
As |
thanks. will be fixed in Exim then... closing this issue. |
If the authentication results parser sees something like
it fails with
in the console.
Setting this to an IPv4 address immediately fixes the parser error.
Setting "Try to read non RFC compliant Authentication-Results header" also fixes the issue, but this header is RFC compliant enough IMO.
And yes, smtp.remote-ip= is not defined/valid according to the latest IANA registry and it should read
which fails to parse as well. I will file a bug for Exim to get this property changed. But AFAIS the extension doesn't care much about unknown ptype.property=value pairs as long as it can parse it as such.
The text was updated successfully, but these errors were encountered: