A preconfigured SMTP relay mean to relay messages to Amazon SES
398
A lightweight, secure Postfix-based SMTP relay designed to forward emails from your internal services (like Tandoor, Jellyfin, or Pi-hole) to Amazon SES. Built on Alpine Linux for a minimal footprint.
alpine:latest, minimal resource usage.netcat based health monitoring.docker run -d \
--name smtp-relay \
-p 25:25 \
-e SES_SMTP_USERNAME=your_ses_key \
-e SES_SMTP_PASSWORD=your_ses_secret \
-e SES_SMTP_HOST=email-smtp.us-east-1.amazonaws.com \
yourusername/smtp-relay:latest
| Variable | Default | Description |
|---|---|---|
SES_SMTP_HOST | email-smtp.us-east-1.amazonaws.com | The AWS SES SMTP endpoint. |
SES_SMTP_PORT | 587 | The port to connect to SES (must support STARTTLS). |
SES_SMTP_USERNAME | Required | Your AWS SES SMTP Username (not IAM user). |
SES_SMTP_PASSWORD | Required | Your AWS SES SMTP Password. |
RELAY_HOST | 0.0.0.0 | Interface for Postfix to bind to. |
RELAY_PORT | 25 | Port for Postfix to listen on. |
LOG_LEVEL | INFO | Logging verbosity. |
services:
smtp-relay:
image: brandonh317/smtp-relay:latest
environment:
SES_SMTP_HOST: email-smtp.us-east-1.amazonaws.com
SES_SMTP_PORT: 587
SES_SMTP_USERNAME: your_ses_access_key
SES_SMTP_PASSWORD: your_ses_secret_key
RELAY_HOST: 0.0.0.0
RELAY_PORT: 25
LOG_LEVEL: INFO
Content type
Image
Digest
sha256:f3bb1376a…
Size
12 MB
Last updated
8 months ago
docker pull brandonh317/smtp-relay