Docker image build script for Mailpit, a SMTP testing tool (AKA Mail Catcher).
The image is based on RedHat's UBI Base Image which fit best for deployment on RedHat OpenShift platform (but not limited to that)
To build the image using docker build, run:
$ docker build . -t mailpit
See further details in Mailpit's official docs https://github.com/axllent/mailpit
Using docker:
$ docker run -it -e -p "8025:8025" -p "1025:1025" mailpit
This command should run the container and open access to 2 services from your local machine:
- On Port 1025 - SMTP Server
- On http://localhost:8025 - the Mailpit UI, used to view traffic from SMTP