Skip to content

kumo.aaa.set_fall_back_to_acl_map

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.

kumo.on('pre_init', function()
  kumo.aaa.set_fall_back_to_acl_map(true)
end)

This function accepts a single boolean argument that controls whether or not the default ACL map will be used as a fallback source for an ACL definition if the get_acl_definition event doesn't return an ACL.

The default is true.

If you set this to false then your get_acl_definition implementation is considered to the definitive and only source of ACL definitions in your deployment, completely replacing the product default ACL definitions.

Note

This function is intended to be used in pre_init as shown above. It can be called at any time, but it is recommended that you call it within pre_init and restart the service if you want to change its value, in order for your overall AAA configuration to apply consistently.