mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-19 02:48:18 +00:00
35 lines
785 B
Markdown
35 lines
785 B
Markdown
# 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:
|
|
|
|
```console
|
|
$ 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:
|
|
|
|
```console
|
|
$ 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:
|
|
|
|
```console
|
|
$ docker exec -t kumod /opt/kumomta/sbin/resolve-shaping-domain example.com
|
|
```
|
|
|
|
Trace submissions in realtime:
|
|
|
|
```console
|
|
$ docker exec -t kumod kcli trace-smtp-server
|
|
```
|
|
|