mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-18 18:38:18 +00:00
16fad7b260
It is useful enough and avoids some reptitions between the single node and docker swarm examples. closes: https://github.com/KumoCorp/kumomta/issues/359
Single Node Docker Example
This directory contains a basic configuration that will spawn both kumod (the MTA process) and tsa-daemon (the traffic shaping automation daemon) from a single docker compose file.
Use this to start the daemons and view the logs:
$ docker compose up
The service will spawn and bind to port 25 on the host system.
You can then send mail on port 25, using swaks:
$ docker run --rm -it --net host nicolaka/netshoot \
swaks -f user@example.com -t user@example.com \
--server $HOSTNAME:25
View shaping rules applied to a domain:
$ docker exec -t kumod /opt/kumomta/sbin/resolve-shaping-domain example.com
Trace submissions in realtime:
$ docker exec -t kumod kcli trace-smtp-server