Postfix server container with several features
10K+
Postfix is a Mail Transport Agent (MTA).
docker build --tag=docker.io/modularitycontainers/postfix .
Command for running postfix docker container:
docker run -it -e MYHOSTNAME=localhost \
-p 25:10025\
-v /var/spool/postfix:/var/spool/postfix \
-v /var/spool/mail:/var/spool/mail postfix
-d docker.io/modularitycontainers/postfix
Command for running postfix docker container:
docker run -it -e ENABLE_TLS -e DEBUG_MODE=yes -e MYHOSTNAME=localhost \
-p 25:10025 \
postfix -d docker.io/modularitycontainers/postfix
Environment variable DEBUG_MODE is used for debugging proposes from Postfix and dovecot point of views.
Command for running postfix docker container:
POSTFIX_CERTS_PATH=/etc/postfix/certs
docker run -it -e ENABLE_IMAP -e MYHOSTNAME=localhost
-e DEBUG_MODE \
-p 587:10587 \
-v ${POSTFIX_CERTS_PATH}:/etc/postfix/certs \
postfix -d docker.io/modularitycontainers/postfix
Environment variable DEBUG_MODE is used for debugging proposes from Postfix and dovecot point of views.
In case, you enable TLS support for postfix, you need to have certificates for postfix service.
For more information about Postfix TLS support see http://www.postfix.org/TLS_README.html
The page POSTFIX_CERTS_GENERATION.md will help you with generation self signed certificate used by postfix.
See help/help.md file.
Content type
Image
Digest
Size
80.6 MB
Last updated
about 9 years ago
docker pull modularitycontainers/postfix