Skip to content

kumo.set_httpinject_threads(N)

Since: Version 2024.09.02-c5476b89

The functionality described in this section requires version 2024.09.02-c5476b89 of KumoMTA, or a more recent version.

Sets the number of threads to be used for the smtpsrv thread pool. This thread pool is used to process incoming smtp sessions.

The default number of threads is computed using some unspecified fraction of the available parallelism on the running system, and is shown in the journal on startup.

kumo.on('pre_init', function()
  kumo.set_smtpsrv_threads(12)
end)