Docker Postfix image configured to act as a relay host.
The image is provided with a default Postfix configuration file main.cf.template which is used to create the actual configuration file when the container starts. The values are read from the following enviroment variables:
POSTFIX_DOMAINPOSTFIX_RELAY_HOSTPOSTFIX_RELAY_PORTPOSTFIX_RELAY_USERNAMEPOSTFIX_RELAY_PASSWORDWith basic Docker knowledge it's pretty straightforward to build and run the image, after having adapted the provided files to suit your needs.
A default docker-compose-template.yml file has been provided for Swarm clusters for test purposes.
If running in production it's better to use a Kubernetes cluster with the enviroment variables stored as secrets.
Content type
Image
Digest
sha256:753f614a5…
Size
68.8 MB
Last updated
over 3 years ago
docker pull ppizzo/postfix