mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-30 10:06:52 +00:00
This commit fixes a regression introduced as part of the updated AAA/ACL code. Since that code has not shipped in a stable release, this is not being entered into the changelog. The issue was that when processing the deferred payloads, we were trying to parse the `auth_info` key from the metadata as though it were a json-serialized-string, but it was in fact already parsed and was actually a json object. This resulted in a runtime error that caused the message to be logged as a Bounce like: ``` expected 'auth_info' to be a string value, got Ok(Object (..)) ``` This commit adds an explicit integration test for deferred generation so that we can catch this sort of thing more easily moving forwards, as well as resolves this issue.