docker-postfix
docker-postfix copied to clipboard
mynetworks env variable, some cleanup
Pass mynetworks env var to postfix to allow relaying from a local docker network.
Fixed Dockerfile to update and install in the same run as per best practices (https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/)
Check $maildomain, warn/exit if unset