Docker postfix satellite configuration (send email through a smarthost like Gmail)
232
This image does not send emails (dumb host), it uses another smarthost such as Gmail to send the actual emails. Uses postfix queue features to retry sending temporary failed emails.
This has been tested with Gmail.
TZ=Europe/Bucharest
MAIL_SMARTHOST_HOSTNAME=smtp-relay.gmail.com
MAIL_SMARTHOST_PORT=587
[email protected]
MAIL_SMARTHOST_PASSWORD=secret
MAIL_DOMAIN=example.com
Sending email through Gmail with 2FA active you need to:
Use exposed volumes from /var/log and /var/spool/postfix to persist postfix state
Content type
Image
Digest
Size
137.7 MB
Last updated
over 8 years ago
docker pull eaudeweb/docker.postfix.satellite:1.0.0