mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-21 09:05:32 +00:00
A "casualty" of this is that the client-ip crate, which we were using for its InsecureClientIp type for informational purposes, has retired the InsecureClientIp type because it wasn't trustworthy overall (https://github.com/imbolc/axum-client-ip/issues/32). What we do for the time being is configure that crate to use the direct peer IP. There isn't a way to automagically select the "best" information available without building in some kind of middleware, and we probably should make that configurable in order to be fully trustworthy. So for now, we're punting on that until someone shows up with some requirements and sponsorship and we'll make it happen then.