This is a simple postfix server configured to discard all messages.
2.1K
This is a simple postfix server configured to discard all messages. It's handy for development, as you can do some basic integration testing without sending email.
This is based on the postfix image by https://github.com/catatnight/docker-postfix
The postfix blackhole example config was taken from https://www.vanimpe.eu/2012/04/03/run-postfix-as-a-blackhole-mail-server-open-relay/.
docker run --name blackhole -d -p 25:25 simap/smtpblackhole
A user is created automatically: username: [email protected] passowrd: blackhole
The host will be whatever your docker host is running on, and config depends on your client. e.g.:
smtp://[email protected]:[email protected]:25/
All of the configuration options of catatnight/docker-postfix are supported and env passed to the image will override the default user. It's possible to get ssl and other users working. For more information see: catatnight/docker-postfix README
Content type
Image
Digest
sha256:2b9075a41…
Size
98.1 MB
Last updated
almost 11 years ago
docker pull simap/smtpblackhole