docker-smtp-sink is docker container for smtp-sink and smtp-source.
I've moved to GHCR (Github Container Registery) and a new repository provides multi-arch images for Linux/amd64 and Linux/arm64.
I'll not remove old images but please migrate to the new location.
10025/tcp
/sink for dumping
See smtp-sink(1) and smtp-source(1)
Launch a smtp-sink container.
docker run \
-it \
--rm \
--name sink \
ghcr.io/nabeken/docker-smtp-sink:latest -v -h mx.example.com -m 100 :10025 100
To send messages to this container, you can use special command with linking to the container:
docker run \
-it \
--rm \
--link sink:sink \
ghcr.io/nabeken/docker-smtp-sink:latest \
smtp-source -c -s 100 -m 1000 -f from@example.com -t to@example.com -M smtp.example.com
You don't need to specify an address to smtp-source command since docker-smtp-sink can detect the address automatically if a container is linking to smtp-source.