This is a simple SMTP Relay server based on postfix.
You can run a local smtp server which are pointed to the real private email provider.
Tested on Gmail and Yahoo.
INPORTANT: SMTP server doesn't have any authentication layer. Please do not put it into the public network.
cp env.example .env.env filedocker run -d -it --rm -p 25:25 --env-file .env --name smtpserver rev9en/smtpserverdocker run -d -it --rm -p 25:25 \
-e SMTP_SERVER=<your real stmp server> \
-e SMTP_PORT=<real smtp port, ex: 465> \
-e [email protected] \
-e SMTP_PASSWORD=SecretPassword \
--name smtpserver rev9en/smtpserver
After that a regular smtp server will be available on localhost port 25.
rev9en/smtpserver docker image (see: usage section)python send-test-email.py <[email protected]>make build
Content type
Image
Digest
sha256:b3a332596…
Size
10.4 MB
Last updated
over 1 year ago
docker pull rev9en/smtpserver