Skip to content

kumo.invoke_get_egress_path_config

local config =
  kumo.invoke_get_egress_path_config(routing_domain, egress_source, site_name)
Since: Version 2025.01.23-7273d2bc

The functionality described in this section requires version 2025.01.23-7273d2bc of KumoMTA, or a more recent version.

This function triggers a call through to the get_egress_path_config event callback(s) that have been defined in the policy to obtain the effective configuration for the specified combination of routing_domain, egress_source and site_name.

The result of that is then serialized and returned as a lua value that has the same shape as the PARAMS defined for kumo.make_egress_path.

Note

The following fields do not presently round-trip back into lua and will be unavailable in the returned value:

  • openssl_options
  • rustls_cipher_suites

Danger

Take care when using this function and its related invoke_xxx functions, as you can potentially create cross-dependent, mututally recursive, event callbacks that call into each other.