mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-21 03:48:17 +00:00
d31c0f2dfc
At the lower level, expose an options struct that allows control over how various checks and conditions are reported out of the attempt to load the set of shaping files. Expose a separate list of errors, distinct from warnings. Each check can either be ignored, a warning, or an error. Errors cause validate-shaping and --validate mode to exit with an error condition, whilst warnings are simply emitted as informational items. In the shaping helper, it is possible to configure a separate set of options for the main live service and validation mode, which allows you to run a more relaxed configuration by default, but be a bit more strict in your pre-commit and pre-deploy configuration validation pipeline refs: https://github.com/KumoCorp/kumomta/issues/287