Skip to content

kumo.egress_source_field_names

local names = kumo.egress_source_field_names()
Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

Returns the names of the options accepted by kumo.make_egress_source, as an array of strings.

It is generated from the same Rust struct that kumo.make_egress_source validates against, not maintained by hand.

This is intended for policy helpers that need to tell whether a key in a configuration file is an egress source option before calling kumo.make_egress_source. The policy-extras.sources helper uses it when validating sources.toml.

See also: