nabeken / docker-smtp-sink

Docker container for smtp-sink

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-smtp-sink

docker-smtp-sink is docker container for smtp-sink and smtp-source.

News (as of June 24, 2023)

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.

Expose

10025/tcp

Volume

/sink for dumping

Usage

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.

About

Docker container for smtp-sink

License:MIT License


Languages

Language:Dockerfile 63.6%Language:Shell 36.4%