OpenSMTPd configured as an open mail relay via smarthost.
2.7K
Do NOT open port 25 on this container to the public - this is configured as an open relay and should only be accessible inside your docker environment or secured VPN!
All Options are set up via ENV variables:
RELAY_SERVER - smarthost hostname. must accept STARTTLS connections. may include :portRELAY_USER - smarthost usernameRELAY_PASSWORD - smarthost passwordRun via command line:
docker run --name relay -e RELAY_SERVER=email-smtp.eu-west-1.amazonaws.com:587 -e RELAY_USER=myusername -e RELAY_PASSWORD="hunter123" zknt/smtprelay
Now any container can link the relay and use it to deliver mail via relay:25:
docker run --link relay some/app
Content type
Image
Digest
Size
7.7 MB
Last updated
over 4 years ago
docker pull zknt/smtprelay