mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-29 01:36:14 +00:00
Using the init_with_tsa.lua policy for kumod, together with tsa_init.lua as the policy for tsa-daemon, logs from kumod are now sent to tsa-daemon. It doesn't do anything with them yet.
10 lines
196 B
Lua
10 lines
196 B
Lua
local tsa = require 'tsa'
|
|
local kumo = require 'kumo'
|
|
|
|
kumo.on('tsa_init', function()
|
|
tsa.start_http_listener {
|
|
listen = '0.0.0.0:8008',
|
|
trusted_hosts = { '127.0.0.1', '::1' },
|
|
}
|
|
end)
|