- fametec/postfix:latest
- fametec/postfix:mailgun
- fametec/postfix:mailgun-europe
- fametec/postfix:ses
- fametec/postfix:gmail
- fametec/postfix:office365
- fametec/postfix:sendgrid
- fametec/postfix:locaweb
Postfix SMTP Relay
docker run --rm -d --name postfix \
-e RELAY_USER=postmaster@domain \
-e RELAY_PASS=xxxxxxxxx \
-e RELAY_HOST=smtp.mailgun.org \
fametec/postfix:latest
version: '3.2'
#
### Services
#
services:
#
# MAILGUN
#
relay:
image: fametec/postfix:latest
restart: unless-stopped
volumes:
- postfix-volume:/var/spool/postfix
ports:
- "30025:25"
environment:
RELAY_USER: postmaster@XXXXXXXXXXXXXXXX
RELAY_PASS: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
RELAY_HOST: smtp.mailgun.org
#
### Volumes
#
volumes:
postfix-volume:
echo "Email Test" | mail -s "This is a simple test" contato@fametec.com.br
or
sendmail -f sender@example.com recipient@example.com
From: Sender Name <sender@example.com>
Subject: Amazon SES Test
This message was sent using Amazon SES.
.