Containerized Postfix mail server.
This project heavily relies on the Postfix default configuration.
Additional configuration may be mounted as volume if needed. Any *.cf
files from /etc/postfix/main.cf.d/
will be sequentially applied using postconf -e <key>=<value>
command.
To apply custom configuration mount the config file in the main.cf format as volume:
docker run -d -p 2500:25 \
-v /custom.cf:/etc/postfix/main.cf.d/10-custom.cf \
infrastructr/postfix
Run locally built image
docker-compose run postfix
Rebuild image
docker-compose build postfix
See the LICENSE.md file for details