Sign inSign up

eaudeweb/docker.postfix.satellite

By eaudeweb

•Updated over 8 years ago

Docker postfix satellite configuration (send email through a smarthost like Gmail)

Image
0

264

eaudeweb/docker.postfix.satellite repository overview

⁠Postfix satellite host

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.

⁠Configuration

TZ=Europe/Bucharest
MAIL_SMARTHOST_HOSTNAME=smtp-relay.gmail.com
MAIL_SMARTHOST_PORT=587
[email protected]
MAIL_SMARTHOST_PASSWORD=secret
MAIL_DOMAIN=example.com
⁠Gmail 2FA

Sending email through Gmail with 2FA active you need to:

  1. enable "less secure apps", read here: https://support.google.com/accounts/answer/6010255⁠
  2. Generate an password to use instead of your Gmail password, read here: https://support.google.com/mail/answer/185833⁠

⁠Volumes

Use exposed volumes from /var/log and /var/spool/postfix to persist postfix state

⁠Bibliography

Tag summary

Content type

Image

Digest

Size

137.7 MB

Last updated

over 8 years ago

docker pull eaudeweb/docker.postfix.satellite:1.0.0