exoplatform/smtp
This container contains the basic configuration to send emails from other containers.
# docker run -d --name smtp exoplatform/smtp:latest
/var/spool/postfix
to a volume if you want the queue to be persistentLink the containers you want to send mail from with this container :
docker run -d --link smtp:smtp otherimage
RELAY_DOMAINS
: if you want to specify the domains to relay emails toDEBUG
: Activate the postfix debug logsYou can activate DKIM signature by using the following environment variables:
Name | Type / Default value | Description |
---|---|---|
DKIM_ENABLED | Boolean : false | Enable DKIM Signature |
DKIM_DOMAIN | String :<mandatory> | DKIM Domain name |
DKIM_SELECTOR | String : default | DKIM Selector |
DKIM_AUTHORIZED_HOSTS | String : <optional> | DKIM authorized sender hosts (comma seperated list) |
You can activate authentication by using the following environment variables:
Name | Type / Default value | Description |
---|---|---|
AUTH_ENABLED | Boolean : false | Enable Authentication |
RELAY_HOST | String :<mandatory> | Relay Host |
AUTH_USER | String : <mandatory> | Auth username |
AUTH_PASSWORD | String : <optional> | Auth password |
docker pull exoplatform/smtp