Files
kumomta/docs/reference/events/get_egress_path_config.md
T
Wez Furlong bf76ddd066 docs: fixup get_egress_path_config
You can't actually define this multiple times; I was on early-morning
autopilot when I wrote that up in 48f1e48e6d
2025-05-16 14:07:10 -07:00

682 B

get_egress_path_config

kumo.on(
  'get_egress_path_config',
  function(routing_domain, egress_source, site_name) end
)

The routing_domain parameter corresponds to the effective routing_domain of the originating scheduled queue. This will be the same as the recipient domain unless the message had set the routing_domain meta value.

An implementation for this event can be provided only once.

kumo.on(
  'get_egress_path_config',
  function(routing_domain, egress_source, site_name)
    return kumo.make_egress_path {
      enable_tls = 'OpportunisticInsecure',
    }
  end
)

See also kumo.make_egress_path.