mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-08 03:28:57 +00:00
You can't actually define this multiple times; I was on early-morning
autopilot when I wrote that up in 48f1e48e6d
682 B
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.