Files
kumomta/examples/single-node-docker
Wez Furlong 16fad7b260 promote docker_utils to policy-extras
It is useful enough and avoids some reptitions between
the single node and docker swarm examples.

closes: https://github.com/KumoCorp/kumomta/issues/359
2025-05-02 10:09:57 -07:00
..

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