Sign inSign up

metabaron/sl-postfix

By metabaron

•Updated over 3 years ago

Image
0

1.2K

metabaron/sl-postfix repository overview

⁠Docker Image for SimpleLogin Postfix

No official Postfix image, tailor-made for SimpleLogin⁠, currently exists.

Let's fix that, by providing to the community something very lightweight, secure* (with Let's Encrypt⁠ support) and simple to use 💖

* if a TLS certificate cannot be automatically generated when starting the container, Postfix will run without TLS activated, until the next attempt (happens every hour)

Can be configured with the following environment variables:

SettingDescription
ALIASES_DEFAULT_DOMAINDefault domain to use for your aliases.
DB_HOSTWhere is hosted your SimpleLogin PostgreSQL database.
DB_USERUser to connect to the database.
DB_PASSWORDUser's password to connect to the database.
DB_NAMEName of the database.
EMAIL_HANDLER_HOSTWhere is hosted your SimpleLogin email handler instance.
LETSENCRYPT_EMAILEmail address used by Let's Encrypt, to send you expiry notices*.
POSTFIX_FQDNFully Qualified Domain Name of your Postfix instance (i.e., the MX server address you configured in your DNS zone for your ALIASES_DEFAULT_DOMAIN).
RELAY_HOSTIf your Postfix instance's IP address is blacklisted (e.g., because it is not a static address), you must use your Internet Service Provider's mail server as a relay, to be able to send emails to the outer world.

* automatic renewal is managed with Certbot⁠ and shouldn't fail, unless you have reached Let's Encrypt rate limits⁠

Used by and made for Kloügle⁠, the Google alternative automated with Terraform⁠.

⁠Troubleshooting

If you don't receive emails from SimpleLogin, have a look to Postfix logs:

docker logs -f <POSTFIX_CONTAINER>

If Postfix doesn't seem to use TLS, have a look to Certbot logs:

docker exec -ti <POSTFIX_CONTAINER> cat /var/log/letsencrypt/letsencrypt.log

Tag summary

Content type

Image

Digest

sha256:9c86d8d71…

Size

34.7 MB

Last updated

over 3 years ago

docker pull metabaron/sl-postfix:3.1.0-9