Can anyone perhaps confirm if the tsa-daemon will autostart in the docker container?
From what I can see, only init.lua is started with the docker-runner.sh script. I had to manually bring it up with the following command in the container:
root@a585b6081922:/opt/kumomta/sbin# ./tsa-daemon --policy /opt/kumomta/etc/policy/tsa_init.lua to stop this error when running:
kumo-sink | TSA Error, will retry in 30 seconds false callback error
kumo-sink | stack traceback:
kumo-sink | [C]: in local 'poll'
kumo-sink | [string "?"]:5: in field 'connect_websocket'
kumo-sink | /opt/kumomta/share/policy-extras/shaping.lua:184: in function </opt/kumomta/share/policy-extras/shaping.lua:180>
kumo-sink | [C]: in function 'pcall'
kumo-sink | /opt/kumomta/share/policy-extras/shaping.lua:206: in function </opt/kumomta/share/policy-extras/shaping.lua:200>
kumo-sink | caused by: IO error: Connection refused (os error 111)
tsa daemon should be a separate container instance when using docker or k8s. You can launch it from the same image, but explicitly run the daemon executable.
I did not think to search for docker in the repo. I followed the documenation and just looked into the docker folder.. On the right path now. Thanks again!