Sign inSign up

infrabuilder/smtp-aws-ses

By infrabuilder

•Updated over 3 years ago

Image
0

50K+

infrabuilder/smtp-aws-ses repository overview

⁠infrabuilder/smtp-aws-ses

This docker image (infrabuilder/smtp-aws-ses⁠) is a SMTP relay built for AWS SES (but not limited to).

⁠Available ENV variables and their default values

VariableDefaul valueDescription
ACCEPTED_NETWORKS192.168.0.0/16 172.16.0.0/12 10.0.0.0/8Network who can send email through this SMTP relay
RELAY_HOSTemail-smtp.us-east-1.amazonaws.comSMTP relay host
RELAY_PORT25SMTP relay port (should be 25, 465 or 587)
RELAY_LOGINnoneUsername used in SASL authentication
RELAY_PASSWORDnonePassword used in SASL authentication
RECIPIENT_RESTRICTIONSnoneSee http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions⁠
USE_TLSyesEnable TLS with SMTP relay (yes or no)
TLS_VERIFYmaySee http://www.postfix.org/postconf.5.html#smtp_tls_security_level⁠

⁠Run examples

Minimal example for AWS SES in region eu-west-3 (Paris, France) :

docker run -d --name smtp -p 25:25  \
    -e RELAY_HOST="email-smtp.eu-west-3.amazonaws.com" \
    -e RELAY_LOGIN="AWSLOGINHERE" \
    -e RELAY_PASSWORD="AWSLOGINSECRETKEY" \
    infrabuilder/smtp-aws-ses

⁠Kubernetes example

Here is an example of simple deployment with a configMap and a secret : kubernetes/example.yaml⁠

⁠Docker image that inspired this one

Thanks to shamil⁠

https://github.com/shamil/docker-postfix-relay⁠

Tag summary

Content type

Image

Digest

sha256:2aa37e611…

Size

34.6 MB

Last updated

over 3 years ago

docker pull infrabuilder/smtp-aws-ses